(This page was automatically generated by the tools in the opsboy project on 17:39:22 26-Mar-2017 GMT.)

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