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

Detailed Test Report for ngx_stream_lua in linux i386 (v)

Summary

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

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e234 is 20 bytes inside a block of size 52 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7452== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e358 is 48 bytes inside a block of size 52 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7452== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e3f4 is 44 bytes inside a block of size 200 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7452== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7452== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498ffd0 is 16 bytes inside a block of size 352 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x8060485: ngx_list_init (ngx_list.h:39)
==7452== by 0x8060485: ngx_list_create (ngx_list.c:22)
==7452== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==7452== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==7452== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==7452== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==7452== by 0x4078855: lua_resume (lj_api.c:1142)
==7452== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==7452== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e224 is 4 bytes inside a block of size 52 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7452== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e224 is 4 bytes inside a block of size 52 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7452== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e118 is 0 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e120 is 8 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e118 is 0 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e118 is 0 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e130 is 24 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e124 is 12 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e11c is 4 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e11c is 4 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==7452== Invalid read of size 4
==7452== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7452== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7452== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7452== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Address 0x498e13c is 36 bytes inside a block of size 40 free'd
==7452== at 0x40285F2: free (vg_replace_malloc.c:530)
==7452== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7452== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7452== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7452== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7452== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7452== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7452== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7452== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7452== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7452== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7452== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7452== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452== Block was alloc'd at
==7452== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7452== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7452== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7452== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7452== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7452== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7452== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7452== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7452== by 0x805E931: main (nginx.c:364)
==7452==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dff4 is 20 bytes inside a block of size 52 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7463== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498e118 is 48 bytes inside a block of size 52 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7463== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498e1b4 is 44 bytes inside a block of size 200 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7463== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7463== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498fc28 is 16 bytes inside a block of size 352 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x8060485: ngx_list_init (ngx_list.h:39)
==7463== by 0x8060485: ngx_list_create (ngx_list.c:22)
==7463== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==7463== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==7463== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==7463== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==7463== by 0x4078855: lua_resume (lj_api.c:1142)
==7463== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==7463== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dfe4 is 4 bytes inside a block of size 52 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7463== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dfe4 is 4 bytes inside a block of size 52 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7463== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498ded8 is 0 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dee0 is 8 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498ded8 is 0 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498ded8 is 0 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498def0 is 24 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dee4 is 12 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dedc is 4 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498dedc is 4 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==7463== Invalid read of size 4
==7463== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7463== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7463== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7463== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Address 0x498defc is 36 bytes inside a block of size 40 free'd
==7463== at 0x40285F2: free (vg_replace_malloc.c:530)
==7463== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7463== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7463== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7463== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7463== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7463== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7463== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7463== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7463== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7463== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7463== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7463== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463== Block was alloc'd at
==7463== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7463== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7463== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7463== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7463== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7463== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7463== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7463== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7463== by 0x805E931: main (nginx.c:364)
==7463==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e73c is 20 bytes inside a block of size 52 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7485== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e860 is 48 bytes inside a block of size 52 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7485== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e8fc is 44 bytes inside a block of size 200 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7485== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7485== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e914 is 68 bytes inside a block of size 200 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7485== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e72c is 4 bytes inside a block of size 52 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7485== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e72c is 4 bytes inside a block of size 52 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7485== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e620 is 0 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e628 is 8 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e620 is 0 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e620 is 0 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e638 is 24 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e62c is 12 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e624 is 4 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e624 is 4 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==7485== Invalid read of size 4
==7485== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7485== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7485== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7485== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Address 0x498e644 is 36 bytes inside a block of size 40 free'd
==7485== at 0x40285F2: free (vg_replace_malloc.c:530)
==7485== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7485== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7485== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7485== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7485== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7485== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7485== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7485== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7485== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7485== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7485== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7485== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485== Block was alloc'd at
==7485== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7485== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7485== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7485== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7485== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7485== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7485== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7485== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7485== by 0x805E931: main (nginx.c:364)
==7485==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e0fc is 20 bytes inside a block of size 52 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7496== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e220 is 48 bytes inside a block of size 52 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7496== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e2bc is 44 bytes inside a block of size 200 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7496== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7496== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e2d4 is 68 bytes inside a block of size 200 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7496== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e0ec is 4 bytes inside a block of size 52 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7496== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e0ec is 4 bytes inside a block of size 52 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7496== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfe0 is 0 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfe8 is 8 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfe0 is 0 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfe0 is 0 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dff8 is 24 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfec is 12 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfe4 is 4 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498dfe4 is 4 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==7496== Invalid read of size 4
==7496== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7496== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7496== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7496== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Address 0x498e004 is 36 bytes inside a block of size 40 free'd
==7496== at 0x40285F2: free (vg_replace_malloc.c:530)
==7496== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7496== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7496== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7496== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7496== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7496== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7496== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7496== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7496== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7496== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7496== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7496== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496== Block was alloc'd at
==7496== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7496== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7496== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7496== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7496== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7496== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7496== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7496== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7496== by 0x805E931: main (nginx.c:364)
==7496==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e614 is 20 bytes inside a block of size 52 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7551== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e738 is 48 bytes inside a block of size 52 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7551== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e7d4 is 44 bytes inside a block of size 200 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7551== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7551== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x49908d8 is 104 bytes inside a block of size 352 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x8060485: ngx_list_init (ngx_list.h:39)
==7551== by 0x8060485: ngx_list_create (ngx_list.c:22)
==7551== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==7551== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==7551== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==7551== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==7551== by 0x4078855: lua_resume (lj_api.c:1142)
==7551== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==7551== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e604 is 4 bytes inside a block of size 52 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7551== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e604 is 4 bytes inside a block of size 52 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7551== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e4f8 is 0 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e500 is 8 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e4f8 is 0 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e4f8 is 0 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e510 is 24 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e504 is 12 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e4fc is 4 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e4fc is 4 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7551== Invalid read of size 4
==7551== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7551== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7551== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7551== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Address 0x498e51c is 36 bytes inside a block of size 40 free'd
==7551== at 0x40285F2: free (vg_replace_malloc.c:530)
==7551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7551== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7551== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7551== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7551== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7551== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7551== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7551== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7551== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7551== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7551== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7551== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551== Block was alloc'd at
==7551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7551== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7551== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7551== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7551== by 0x805E931: main (nginx.c:364)
==7551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498df8c is 20 bytes inside a block of size 52 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7562== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498e0b0 is 48 bytes inside a block of size 52 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7562== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498e14c is 44 bytes inside a block of size 200 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7562== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7562== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498e164 is 68 bytes inside a block of size 200 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7562== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498df7c is 4 bytes inside a block of size 52 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7562== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498df7c is 4 bytes inside a block of size 52 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7562== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de70 is 0 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de78 is 8 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de70 is 0 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de70 is 0 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de88 is 24 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de7c is 12 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de74 is 4 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de74 is 4 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==7562== Invalid read of size 4
==7562== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7562== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7562== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7562== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Address 0x498de94 is 36 bytes inside a block of size 40 free'd
==7562== at 0x40285F2: free (vg_replace_malloc.c:530)
==7562== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7562== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7562== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7562== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7562== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7562== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7562== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7562== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7562== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7562== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7562== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7562== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562== Block was alloc'd at
==7562== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7562== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7562== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7562== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7562== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7562== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7562== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7562== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7562== by 0x805E931: main (nginx.c:364)
==7562==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dd74 is 20 bytes inside a block of size 52 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7573== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498de98 is 48 bytes inside a block of size 52 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7573== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498df34 is 44 bytes inside a block of size 200 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7573== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7573== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498df4c is 68 bytes inside a block of size 200 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7573== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dd64 is 4 bytes inside a block of size 52 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7573== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dd64 is 4 bytes inside a block of size 52 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7573== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc58 is 0 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc60 is 8 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc58 is 0 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc58 is 0 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc70 is 24 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc64 is 12 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc5c is 4 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc5c is 4 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==7573== Invalid read of size 4
==7573== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7573== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7573== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7573== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Address 0x498dc7c is 36 bytes inside a block of size 40 free'd
==7573== at 0x40285F2: free (vg_replace_malloc.c:530)
==7573== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7573== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7573== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7573== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7573== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7573== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7573== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7573== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7573== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7573== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7573== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7573== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573== Block was alloc'd at
==7573== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7573== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7573== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7573== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7573== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7573== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7573== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7573== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7573== by 0x805E931: main (nginx.c:364)
==7573==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e2e4 is 20 bytes inside a block of size 52 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e408 is 48 bytes inside a block of size 52 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7584== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e4a4 is 44 bytes inside a block of size 200 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7584== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7584== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e4bc is 68 bytes inside a block of size 200 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7584== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e2d4 is 4 bytes inside a block of size 52 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e2d4 is 4 bytes inside a block of size 52 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1c8 is 0 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1d0 is 8 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1c8 is 0 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1c8 is 0 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1e0 is 24 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1d4 is 12 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1cc is 4 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1cc is 4 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==7584== Invalid read of size 4
==7584== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7584== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7584== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7584== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Address 0x498e1ec is 36 bytes inside a block of size 40 free'd
==7584== at 0x40285F2: free (vg_replace_malloc.c:530)
==7584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7584== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7584== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7584== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7584== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7584== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7584== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7584== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584== Block was alloc'd at
==7584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7584== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7584== by 0x805E931: main (nginx.c:364)
==7584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e6bc is 20 bytes inside a block of size 52 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7595== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e7e0 is 48 bytes inside a block of size 52 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7595== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e87c is 44 bytes inside a block of size 200 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7595== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7595== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e894 is 68 bytes inside a block of size 200 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7595== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e6ac is 4 bytes inside a block of size 52 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7595== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e6ac is 4 bytes inside a block of size 52 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7595== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5a0 is 0 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5a8 is 8 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5a0 is 0 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5a0 is 0 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5b8 is 24 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5ac is 12 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5a4 is 4 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5a4 is 4 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==7595== Invalid read of size 4
==7595== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7595== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7595== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7595== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Address 0x498e5c4 is 36 bytes inside a block of size 40 free'd
==7595== at 0x40285F2: free (vg_replace_malloc.c:530)
==7595== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7595== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7595== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7595== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7595== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7595== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7595== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7595== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7595== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7595== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7595== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7595== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595== Block was alloc'd at
==7595== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7595== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7595== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7595== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7595== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7595== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7595== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7595== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7595== by 0x805E931: main (nginx.c:364)
==7595==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498dec4 is 20 bytes inside a block of size 52 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7621== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498dfe8 is 48 bytes inside a block of size 52 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7621== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498e084 is 44 bytes inside a block of size 200 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7621== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7621== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498e09c is 68 bytes inside a block of size 200 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7621== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498deb4 is 4 bytes inside a block of size 52 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7621== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498deb4 is 4 bytes inside a block of size 52 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7621== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498dda8 is 0 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498ddb0 is 8 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498dda8 is 0 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498dda8 is 0 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498ddc0 is 24 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498ddb4 is 12 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498ddac is 4 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498ddac is 4 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==7621== Invalid read of size 4
==7621== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7621== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7621== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7621== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Address 0x498ddcc is 36 bytes inside a block of size 40 free'd
==7621== at 0x40285F2: free (vg_replace_malloc.c:530)
==7621== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7621== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7621== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7621== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7621== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7621== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7621== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7621== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7621== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7621== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7621== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7621== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621== Block was alloc'd at
==7621== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7621== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7621== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7621== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7621== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7621== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7621== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7621== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7621== by 0x805E931: main (nginx.c:364)
==7621==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498de1c is 20 bytes inside a block of size 52 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7632== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498df40 is 48 bytes inside a block of size 52 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7632== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dfdc is 44 bytes inside a block of size 200 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7632== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7632== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dff4 is 68 bytes inside a block of size 200 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7632== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498de0c is 4 bytes inside a block of size 52 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7632== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498de0c is 4 bytes inside a block of size 52 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7632== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd00 is 0 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd08 is 8 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd00 is 0 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd00 is 0 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd18 is 24 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd0c is 12 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd04 is 4 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd04 is 4 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==7632== Invalid read of size 4
==7632== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7632== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7632== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7632== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Address 0x498dd24 is 36 bytes inside a block of size 40 free'd
==7632== at 0x40285F2: free (vg_replace_malloc.c:530)
==7632== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7632== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7632== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7632== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7632== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7632== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7632== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7632== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7632== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7632== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7632== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7632== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632== Block was alloc'd at
==7632== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7632== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7632== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7632== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7632== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7632== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7632== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7632== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7632== by 0x805E931: main (nginx.c:364)
==7632==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e2ac is 20 bytes inside a block of size 52 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7643== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e3d0 is 48 bytes inside a block of size 52 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7643== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e46c is 44 bytes inside a block of size 200 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7643== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7643== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e484 is 68 bytes inside a block of size 200 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7643== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e29c is 4 bytes inside a block of size 52 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7643== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e29c is 4 bytes inside a block of size 52 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7643== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e190 is 0 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e198 is 8 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e190 is 0 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e190 is 0 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e1a8 is 24 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e19c is 12 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e194 is 4 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e194 is 4 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==7643== Invalid read of size 4
==7643== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7643== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7643== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7643== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Address 0x498e1b4 is 36 bytes inside a block of size 40 free'd
==7643== at 0x40285F2: free (vg_replace_malloc.c:530)
==7643== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7643== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7643== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7643== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7643== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7643== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7643== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7643== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7643== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7643== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7643== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7643== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643== Block was alloc'd at
==7643== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7643== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7643== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7643== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7643== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7643== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7643== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7643== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7643== by 0x805E931: main (nginx.c:364)
==7643==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984414 is 20 bytes inside a block of size 52 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7816== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984538 is 48 bytes inside a block of size 52 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7816== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49845d4 is 44 bytes inside a block of size 200 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7816== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7816== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49845ec is 68 bytes inside a block of size 200 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7816== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984404 is 4 bytes inside a block of size 52 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7816== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984404 is 4 bytes inside a block of size 52 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7816== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49842f8 is 0 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984300 is 8 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49842f8 is 0 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49842f8 is 0 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984310 is 24 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x4984304 is 12 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49842fc is 4 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x49842fc is 4 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==7816== Invalid read of size 4
==7816== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7816== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7816== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7816== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Address 0x498431c is 36 bytes inside a block of size 40 free'd
==7816== at 0x40285F2: free (vg_replace_malloc.c:530)
==7816== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7816== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7816== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7816== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7816== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7816== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7816== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7816== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7816== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7816== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7816== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7816== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816== Block was alloc'd at
==7816== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7816== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7816== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7816== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7816== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7816== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7816== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7816== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7816== by 0x805E931: main (nginx.c:364)
==7816==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984cd4 is 20 bytes inside a block of size 52 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7849== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984df8 is 48 bytes inside a block of size 52 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7849== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984e94 is 44 bytes inside a block of size 200 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7849== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7849== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984eac is 68 bytes inside a block of size 200 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7849== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984cc4 is 4 bytes inside a block of size 52 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7849== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984cc4 is 4 bytes inside a block of size 52 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7849== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bb8 is 0 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bc0 is 8 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bb8 is 0 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bb8 is 0 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bd0 is 24 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bc4 is 12 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bbc is 4 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bbc is 4 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==7849== Invalid read of size 4
==7849== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7849== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7849== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7849== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Address 0x4984bdc is 36 bytes inside a block of size 40 free'd
==7849== at 0x40285F2: free (vg_replace_malloc.c:530)
==7849== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7849== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7849== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7849== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7849== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7849== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7849== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7849== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7849== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7849== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7849== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7849== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849== Block was alloc'd at
==7849== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7849== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7849== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7849== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7849== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7849== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7849== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7849== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7849== by 0x805E931: main (nginx.c:364)
==7849==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x498449c is 20 bytes inside a block of size 52 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7871== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x49845c0 is 48 bytes inside a block of size 52 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7871== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x498465c is 44 bytes inside a block of size 200 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7871== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7871== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984674 is 68 bytes inside a block of size 200 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7871== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x498448c is 4 bytes inside a block of size 52 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7871== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x498448c is 4 bytes inside a block of size 52 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7871== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984380 is 0 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984388 is 8 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984380 is 0 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984380 is 0 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984398 is 24 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x498438c is 12 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984384 is 4 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x4984384 is 4 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==7871== Invalid read of size 4
==7871== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7871== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7871== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7871== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Address 0x49843a4 is 36 bytes inside a block of size 40 free'd
==7871== at 0x40285F2: free (vg_replace_malloc.c:530)
==7871== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7871== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7871== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7871== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7871== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7871== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7871== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7871== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7871== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7871== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7871== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7871== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871== Block was alloc'd at
==7871== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7871== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7871== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7871== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7871== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7871== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7871== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7871== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7871== by 0x805E931: main (nginx.c:364)
==7871==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984cd4 is 20 bytes inside a block of size 52 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7882== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984df8 is 48 bytes inside a block of size 52 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7882== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984e94 is 44 bytes inside a block of size 200 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7882== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7882== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984eac is 68 bytes inside a block of size 200 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7882== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984cc4 is 4 bytes inside a block of size 52 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7882== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984cc4 is 4 bytes inside a block of size 52 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7882== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bb8 is 0 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bc0 is 8 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bb8 is 0 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bb8 is 0 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bd0 is 24 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bc4 is 12 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bbc is 4 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bbc is 4 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==7882== Invalid read of size 4
==7882== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7882== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7882== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7882== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Address 0x4984bdc is 36 bytes inside a block of size 40 free'd
==7882== at 0x40285F2: free (vg_replace_malloc.c:530)
==7882== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7882== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7882== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7882== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7882== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7882== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7882== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7882== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7882== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7882== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7882== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7882== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882== Block was alloc'd at
==7882== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7882== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7882== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7882== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7882== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7882== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7882== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7882== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7882== by 0x805E931: main (nginx.c:364)
==7882==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49842ec is 20 bytes inside a block of size 52 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7893== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x4984410 is 48 bytes inside a block of size 52 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7893== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49844ac is 44 bytes inside a block of size 200 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7893== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7893== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49844c4 is 68 bytes inside a block of size 200 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7893== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49842dc is 4 bytes inside a block of size 52 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7893== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49842dc is 4 bytes inside a block of size 52 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7893== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841d0 is 0 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841d8 is 8 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841d0 is 0 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841d0 is 0 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841e8 is 24 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841dc is 12 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841d4 is 4 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841d4 is 4 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==7893== Invalid read of size 4
==7893== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7893== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7893== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7893== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Address 0x49841f4 is 36 bytes inside a block of size 40 free'd
==7893== at 0x40285F2: free (vg_replace_malloc.c:530)
==7893== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7893== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7893== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7893== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7893== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7893== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7893== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7893== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7893== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7893== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7893== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7893== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893== Block was alloc'd at
==7893== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7893== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7893== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7893== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7893== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7893== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7893== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7893== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7893== by 0x805E931: main (nginx.c:364)
==7893==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x498447c is 20 bytes inside a block of size 52 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7948== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x49845a0 is 48 bytes inside a block of size 52 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7948== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x498463c is 44 bytes inside a block of size 200 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7948== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7948== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984654 is 68 bytes inside a block of size 200 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7948== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x498446c is 4 bytes inside a block of size 52 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7948== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x498446c is 4 bytes inside a block of size 52 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7948== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984360 is 0 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984368 is 8 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984360 is 0 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984360 is 0 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984378 is 24 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x498436c is 12 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984364 is 4 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984364 is 4 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==7948== Invalid read of size 4
==7948== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7948== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7948== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7948== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Address 0x4984384 is 36 bytes inside a block of size 40 free'd
==7948== at 0x40285F2: free (vg_replace_malloc.c:530)
==7948== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7948== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7948== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7948== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7948== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7948== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7948== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7948== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7948== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7948== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7948== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7948== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948== Block was alloc'd at
==7948== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7948== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7948== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7948== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7948== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7948== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7948== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7948== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7948== by 0x805E931: main (nginx.c:364)
==7948==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x4984504 is 20 bytes inside a block of size 52 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7981== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x4984628 is 48 bytes inside a block of size 52 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7981== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49846c4 is 44 bytes inside a block of size 200 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7981== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7981== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49846dc is 68 bytes inside a block of size 200 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7981== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49844f4 is 4 bytes inside a block of size 52 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7981== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49844f4 is 4 bytes inside a block of size 52 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7981== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843e8 is 0 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843f0 is 8 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843e8 is 0 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843e8 is 0 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x4984400 is 24 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843f4 is 12 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843ec is 4 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x49843ec is 4 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==7981== Invalid read of size 4
==7981== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7981== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7981== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7981== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Address 0x498440c is 36 bytes inside a block of size 40 free'd
==7981== at 0x40285F2: free (vg_replace_malloc.c:530)
==7981== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7981== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7981== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7981== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7981== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7981== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7981== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7981== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7981== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7981== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7981== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7981== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981== Block was alloc'd at
==7981== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7981== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7981== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7981== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7981== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7981== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7981== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7981== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7981== by 0x805E931: main (nginx.c:364)
==7981==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49842dc is 20 bytes inside a block of size 52 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7992== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x4984400 is 48 bytes inside a block of size 52 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7992== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x498449c is 44 bytes inside a block of size 200 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7992== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7992== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49844b4 is 68 bytes inside a block of size 200 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7992== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49842cc is 4 bytes inside a block of size 52 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7992== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49842cc is 4 bytes inside a block of size 52 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==7992== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841c0 is 0 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841c8 is 8 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841c0 is 0 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841c0 is 0 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841d8 is 24 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841cc is 12 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841c4 is 4 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841c4 is 4 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==7992== Invalid read of size 4
==7992== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==7992== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7992== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7992== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Address 0x49841e4 is 36 bytes inside a block of size 40 free'd
==7992== at 0x40285F2: free (vg_replace_malloc.c:530)
==7992== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==7992== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7992== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7992== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7992== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7992== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7992== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7992== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7992== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7992== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==7992== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7992== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992== Block was alloc'd at
==7992== at 0x4029679: malloc (vg_replace_malloc.c:299)
==7992== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==7992== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==7992== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==7992== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==7992== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7992== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==7992== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7992== by 0x805E931: main (nginx.c:364)
==7992==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb20c is 20 bytes inside a block of size 52 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8560== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb2c8 is 48 bytes inside a block of size 52 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF9F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==8560== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb364 is 44 bytes inside a block of size 200 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8560== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8560== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb37c is 68 bytes inside a block of size 200 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8560== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb1fc is 4 bytes inside a block of size 52 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8560== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb1fc is 4 bytes inside a block of size 52 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8560== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb168 is 0 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb170 is 8 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb168 is 0 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb168 is 0 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb180 is 24 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb174 is 12 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb16c is 4 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb16c is 4 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8560== Invalid read of size 4
==8560== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==8560== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Address 0x49bb18c is 36 bytes inside a block of size 40 free'd
==8560== at 0x40285F2: free (vg_replace_malloc.c:530)
==8560== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8560== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8560== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8560== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8560== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8560== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8560== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560== Block was alloc'd at
==8560== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8560== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8560== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8560== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8560== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8560== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8560== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8560== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8560== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8560== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8560== by 0x805E931: main (nginx.c:364)
==8560==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba5a4 is 20 bytes inside a block of size 52 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8827== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba660 is 48 bytes inside a block of size 52 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF9F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==8827== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba6fc is 44 bytes inside a block of size 200 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8827== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8827== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba714 is 68 bytes inside a block of size 200 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8827== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba594 is 4 bytes inside a block of size 52 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8827== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba594 is 4 bytes inside a block of size 52 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8827== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba500 is 0 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba508 is 8 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba500 is 0 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba500 is 0 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba518 is 24 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba50c is 12 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba504 is 4 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba504 is 4 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==8827== Invalid read of size 4
==8827== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==8827== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Address 0x49ba524 is 36 bytes inside a block of size 40 free'd
==8827== at 0x40285F2: free (vg_replace_malloc.c:530)
==8827== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==8827== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8827== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8827== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8827== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8827== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8827== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827== Block was alloc'd at
==8827== at 0x4029679: malloc (vg_replace_malloc.c:299)
==8827== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==8827== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==8827== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==8827== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==8827== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8827== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8827== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==8827== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==8827== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8827== by 0x805E931: main (nginx.c:364)
==8827==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984564 is 20 bytes inside a block of size 52 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10042== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984688 is 48 bytes inside a block of size 52 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10042== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984724 is 44 bytes inside a block of size 200 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10042== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10042== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x498473c is 68 bytes inside a block of size 200 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10042== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984554 is 4 bytes inside a block of size 52 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10042== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984554 is 4 bytes inside a block of size 52 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10042== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984448 is 0 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984450 is 8 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984448 is 0 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984448 is 0 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984460 is 24 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x4984454 is 12 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x498444c is 4 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x498444c is 4 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10042== Invalid read of size 4
==10042== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==10042== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10042== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10042== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Address 0x498446c is 36 bytes inside a block of size 40 free'd
==10042== at 0x40285F2: free (vg_replace_malloc.c:530)
==10042== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10042== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10042== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10042== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10042== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10042== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10042== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10042== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10042== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10042== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10042== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10042== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042== Block was alloc'd at
==10042== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10042== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10042== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10042== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10042== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10042== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10042== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10042== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10042== by 0x805E931: main (nginx.c:364)
==10042==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984514 is 20 bytes inside a block of size 52 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10053== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984638 is 48 bytes inside a block of size 52 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10053== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49846d4 is 44 bytes inside a block of size 200 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10053== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10053== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49846ec is 68 bytes inside a block of size 200 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10053== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984504 is 4 bytes inside a block of size 52 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10053== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984504 is 4 bytes inside a block of size 52 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10053== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49843f8 is 0 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984400 is 8 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49843f8 is 0 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49843f8 is 0 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984410 is 24 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x4984404 is 12 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49843fc is 4 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x49843fc is 4 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10053== Invalid read of size 4
==10053== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==10053== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10053== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10053== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Address 0x498441c is 36 bytes inside a block of size 40 free'd
==10053== at 0x40285F2: free (vg_replace_malloc.c:530)
==10053== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10053== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10053== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10053== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10053== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10053== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10053== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10053== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10053== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10053== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10053== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10053== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053== Block was alloc'd at
==10053== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10053== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10053== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10053== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10053== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10053== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10053== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10053== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10053== by 0x805E931: main (nginx.c:364)
==10053==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49841f4 is 20 bytes inside a block of size 52 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10064== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x4984318 is 48 bytes inside a block of size 52 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10064== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49843b4 is 44 bytes inside a block of size 200 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10064== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10064== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49843cc is 68 bytes inside a block of size 200 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10064== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49841e4 is 4 bytes inside a block of size 52 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10064== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49841e4 is 4 bytes inside a block of size 52 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10064== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840d8 is 0 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840e0 is 8 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840d8 is 0 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840d8 is 0 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840f0 is 24 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840e4 is 12 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840dc is 4 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840dc is 4 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10064== Invalid read of size 4
==10064== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==10064== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10064== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10064== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Address 0x49840fc is 36 bytes inside a block of size 40 free'd
==10064== at 0x40285F2: free (vg_replace_malloc.c:530)
==10064== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10064== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10064== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10064== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10064== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10064== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10064== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10064== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10064== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10064== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10064== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10064== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064== Block was alloc'd at
==10064== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10064== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10064== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10064== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10064== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10064== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10064== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10064== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10064== by 0x805E931: main (nginx.c:364)
==10064==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996a54 is 20 bytes inside a block of size 52 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10075== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996b78 is 48 bytes inside a block of size 52 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10075== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996c14 is 44 bytes inside a block of size 200 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10075== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10075== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996c2c is 68 bytes inside a block of size 200 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10075== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996a44 is 4 bytes inside a block of size 52 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10075== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996a44 is 4 bytes inside a block of size 52 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==10075== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996938 is 0 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996940 is 8 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996938 is 0 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996938 is 0 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996950 is 24 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x4996944 is 12 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x499693c is 4 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x499693c is 4 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==10075== Invalid read of size 4
==10075== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==10075== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10075== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10075== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Address 0x499695c is 36 bytes inside a block of size 40 free'd
==10075== at 0x40285F2: free (vg_replace_malloc.c:530)
==10075== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==10075== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10075== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10075== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10075== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10075== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10075== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10075== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10075== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10075== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==10075== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10075== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075== Block was alloc'd at
==10075== at 0x4029679: malloc (vg_replace_malloc.c:299)
==10075== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==10075== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==10075== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==10075== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==10075== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10075== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==10075== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10075== by 0x805E931: main (nginx.c:364)
==10075==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}

Expected Failures

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

Warnings

Go back to the index page.