(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 (hv)

Summary

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

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0544 is 20 bytes inside a block of size 52 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20180== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0668 is 48 bytes inside a block of size 52 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20180== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0704 is 44 bytes inside a block of size 200 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20180== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20180== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec071c is 68 bytes inside a block of size 200 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20180== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0534 is 4 bytes inside a block of size 52 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20180== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0534 is 4 bytes inside a block of size 52 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20180== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0428 is 0 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0430 is 8 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0428 is 0 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0428 is 0 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0440 is 24 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec0434 is 12 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec042c is 4 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec042c is 4 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==20180== Invalid read of size 4
==20180== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Address 0x4ec044c is 36 bytes inside a block of size 40 free'd
==20180== at 0x40285F2: free (vg_replace_malloc.c:530)
==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180== Block was alloc'd at
==20180== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20180== by 0x805E940: main (nginx.c:367)
==20180==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093cac is 20 bytes inside a block of size 52 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20200== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093dd0 is 48 bytes inside a block of size 52 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20200== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093e6c is 44 bytes inside a block of size 200 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20200== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20200== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5095a48 is 16 bytes inside a block of size 352 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x8060485: ngx_list_init (ngx_list.h:39)
==20200== by 0x8060485: ngx_list_create (ngx_list.c:22)
==20200== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==20200== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==20200== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==20200== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==20200== by 0x4078855: lua_resume (lj_api.c:1142)
==20200== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==20200== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093c9c is 4 bytes inside a block of size 52 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20200== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093c9c is 4 bytes inside a block of size 52 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20200== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b90 is 0 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b98 is 8 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b90 is 0 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b90 is 0 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093ba8 is 24 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b9c is 12 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b94 is 4 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093b94 is 4 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==20200== Invalid read of size 4
==20200== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Address 0x5093bb4 is 36 bytes inside a block of size 40 free'd
==20200== at 0x40285F2: free (vg_replace_malloc.c:530)
==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200== Block was alloc'd at
==20200== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20200== by 0x805E940: main (nginx.c:367)
==20200==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543af54 is 20 bytes inside a block of size 52 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20240== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543b078 is 48 bytes inside a block of size 52 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20240== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543b114 is 44 bytes inside a block of size 200 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20240== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20240== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543b12c is 68 bytes inside a block of size 200 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20240== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543af44 is 4 bytes inside a block of size 52 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20240== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543af44 is 4 bytes inside a block of size 52 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20240== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae38 is 0 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae40 is 8 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae38 is 0 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae38 is 0 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae50 is 24 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae44 is 12 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae3c is 4 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae3c is 4 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==20240== Invalid read of size 4
==20240== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Address 0x543ae5c is 36 bytes inside a block of size 40 free'd
==20240== at 0x40285F2: free (vg_replace_malloc.c:530)
==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240== Block was alloc'd at
==20240== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20240== by 0x805E940: main (nginx.c:367)
==20240==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560ebcc is 20 bytes inside a block of size 52 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20260== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560ecf0 is 48 bytes inside a block of size 52 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20260== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560ed8c is 44 bytes inside a block of size 200 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20260== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20260== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eda4 is 68 bytes inside a block of size 200 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20260== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560ebbc is 4 bytes inside a block of size 52 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20260== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560ebbc is 4 bytes inside a block of size 52 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20260== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eab0 is 0 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eab8 is 8 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eab0 is 0 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eab0 is 0 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eac8 is 24 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eabc is 12 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eab4 is 4 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560eab4 is 4 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==20260== Invalid read of size 4
==20260== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Address 0x560ead4 is 36 bytes inside a block of size 40 free'd
==20260== at 0x40285F2: free (vg_replace_malloc.c:530)
==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260== Block was alloc'd at
==20260== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20260== by 0x805E940: main (nginx.c:367)
==20260==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1fd4 is 20 bytes inside a block of size 52 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20280== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e20f8 is 48 bytes inside a block of size 52 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20280== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e2194 is 44 bytes inside a block of size 200 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20280== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20280== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e21ac is 68 bytes inside a block of size 200 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20280== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1fc4 is 4 bytes inside a block of size 52 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20280== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1fc4 is 4 bytes inside a block of size 52 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20280== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1eb8 is 0 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1ec0 is 8 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1eb8 is 0 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1eb8 is 0 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1ed0 is 24 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1ec4 is 12 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1ebc is 4 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1ebc is 4 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==20280== Invalid read of size 4
==20280== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Address 0x57e1edc is 36 bytes inside a block of size 40 free'd
==20280== at 0x40285F2: free (vg_replace_malloc.c:530)
==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280== Block was alloc'd at
==20280== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20280== by 0x805E940: main (nginx.c:367)
==20280==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b8884c is 20 bytes inside a block of size 52 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20320== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88970 is 48 bytes inside a block of size 52 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20320== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88a0c is 44 bytes inside a block of size 200 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20320== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20320== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88a24 is 68 bytes inside a block of size 200 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20320== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b8883c is 4 bytes inside a block of size 52 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20320== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b8883c is 4 bytes inside a block of size 52 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20320== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88730 is 0 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88738 is 8 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88730 is 0 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88730 is 0 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88748 is 24 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b8873c is 12 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88734 is 4 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88734 is 4 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==20320== Invalid read of size 4
==20320== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Address 0x5b88754 is 36 bytes inside a block of size 40 free'd
==20320== at 0x40285F2: free (vg_replace_malloc.c:530)
==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320== Block was alloc'd at
==20320== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20320== by 0x805E940: main (nginx.c:367)
==20320==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a031bc is 20 bytes inside a block of size 52 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20360== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a474b8 is 48 bytes inside a block of size 52 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20360== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a4751c is 44 bytes inside a block of size 200 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20360== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20360== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a47534 is 68 bytes inside a block of size 200 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20360== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a031ac is 4 bytes inside a block of size 52 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20360== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a031ac is 4 bytes inside a block of size 52 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20360== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03110 is 0 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03118 is 8 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03110 is 0 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03110 is 0 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03128 is 24 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a0311c is 12 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03114 is 4 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03114 is 4 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==20360== Invalid read of size 4
==20360== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Address 0x4a03134 is 36 bytes inside a block of size 40 free'd
==20360== at 0x40285F2: free (vg_replace_malloc.c:530)
==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360== Block was alloc'd at
==20360== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20360== by 0x805E940: main (nginx.c:367)
==20360==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b48c is 20 bytes inside a block of size 52 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b580 is 48 bytes inside a block of size 52 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20400== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b61c is 44 bytes inside a block of size 200 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20400== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20400== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x4cffb58 is 16 bytes inside a block of size 352 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x8060485: ngx_list_init (ngx_list.h:39)
==20400== by 0x8060485: ngx_list_create (ngx_list.c:22)
==20400== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==20400== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==20400== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==20400== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==20400== by 0x4078855: lua_resume (lj_api.c:1142)
==20400== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==20400== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b47c is 4 bytes inside a block of size 52 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b47c is 4 bytes inside a block of size 52 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b370 is 0 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b378 is 8 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b370 is 0 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b370 is 0 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b388 is 24 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b37c is 12 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b374 is 4 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b374 is 4 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==20400== Invalid read of size 4
==20400== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Address 0x495b394 is 36 bytes inside a block of size 40 free'd
==20400== at 0x40285F2: free (vg_replace_malloc.c:530)
==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400== Block was alloc'd at
==20400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20400== by 0x805E940: main (nginx.c:367)
==20400==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14a74 is 20 bytes inside a block of size 52 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20440== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14b68 is 48 bytes inside a block of size 52 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20440== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14c04 is 44 bytes inside a block of size 200 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20440== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20440== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14c1c is 68 bytes inside a block of size 200 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20440== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14a64 is 4 bytes inside a block of size 52 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20440== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14a64 is 4 bytes inside a block of size 52 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20440== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14958 is 0 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14960 is 8 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14958 is 0 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14958 is 0 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14970 is 24 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d14964 is 12 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d1495c is 4 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d1495c is 4 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==20440== Invalid read of size 4
==20440== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Address 0x4d1497c is 36 bytes inside a block of size 40 free'd
==20440== at 0x40285F2: free (vg_replace_malloc.c:530)
==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440== Block was alloc'd at
==20440== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20440== by 0x805E940: main (nginx.c:367)
==20440==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed57cc is 20 bytes inside a block of size 52 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20460== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed58c0 is 48 bytes inside a block of size 52 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20460== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed595c is 44 bytes inside a block of size 200 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20460== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20460== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x527ba58 is 104 bytes inside a block of size 352 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x8060485: ngx_list_init (ngx_list.h:39)
==20460== by 0x8060485: ngx_list_create (ngx_list.c:22)
==20460== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==20460== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==20460== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==20460== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==20460== by 0x4078855: lua_resume (lj_api.c:1142)
==20460== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==20460== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed57bc is 4 bytes inside a block of size 52 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20460== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed57bc is 4 bytes inside a block of size 52 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20460== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56b0 is 0 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56b8 is 8 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56b0 is 0 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56b0 is 0 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56c8 is 24 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56bc is 12 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56b4 is 4 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56b4 is 4 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==20460== Invalid read of size 4
==20460== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Address 0x4ed56d4 is 36 bytes inside a block of size 40 free'd
==20460== at 0x40285F2: free (vg_replace_malloc.c:530)
==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460== Block was alloc'd at
==20460== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20460== by 0x805E940: main (nginx.c:367)
==20460==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc5a4 is 20 bytes inside a block of size 52 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20480== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50c0c48 is 48 bytes inside a block of size 52 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20480== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50c0ce4 is 44 bytes inside a block of size 200 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20480== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20480== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50c0cfc is 68 bytes inside a block of size 200 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20480== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc594 is 4 bytes inside a block of size 52 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20480== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc594 is 4 bytes inside a block of size 52 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20480== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc488 is 0 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc490 is 8 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc488 is 0 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc488 is 0 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc4a0 is 24 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc494 is 12 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc48c is 4 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc48c is 4 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==20480== Invalid read of size 4
==20480== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Address 0x50bc4ac is 36 bytes inside a block of size 40 free'd
==20480== at 0x40285F2: free (vg_replace_malloc.c:530)
==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480== Block was alloc'd at
==20480== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20480== by 0x805E940: main (nginx.c:367)
==20480==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x527c714 is 20 bytes inside a block of size 52 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20500== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x527c808 is 48 bytes inside a block of size 52 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20500== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x527c8a4 is 44 bytes inside a block of size 200 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20500== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20500== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x527c8bc is 68 bytes inside a block of size 200 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20500== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x527c704 is 4 bytes inside a block of size 52 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20500== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x527c704 is 4 bytes inside a block of size 52 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20500== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f188 is 0 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f190 is 8 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f188 is 0 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f188 is 0 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f1a0 is 24 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f194 is 12 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f18c is 4 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f18c is 4 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==20500== Invalid read of size 4
==20500== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Address 0x528f1ac is 36 bytes inside a block of size 40 free'd
==20500== at 0x40285F2: free (vg_replace_malloc.c:530)
==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500== Block was alloc'd at
==20500== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20500== by 0x805E940: main (nginx.c:367)
==20500==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc874 is 20 bytes inside a block of size 52 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20757== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc998 is 48 bytes inside a block of size 52 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20757== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afca34 is 44 bytes inside a block of size 200 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20757== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20757== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afca4c is 68 bytes inside a block of size 200 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20757== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc864 is 4 bytes inside a block of size 52 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20757== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc864 is 4 bytes inside a block of size 52 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20757== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc758 is 0 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc760 is 8 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc758 is 0 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc758 is 0 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc770 is 24 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc764 is 12 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc75c is 4 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc75c is 4 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==20757== Invalid read of size 4
==20757== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Address 0x4afc77c is 36 bytes inside a block of size 40 free'd
==20757== at 0x40285F2: free (vg_replace_malloc.c:530)
==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757== Block was alloc'd at
==20757== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==20757== by 0x805E940: main (nginx.c:367)
==20757==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6a2c is 20 bytes inside a block of size 52 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20786== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6b50 is 48 bytes inside a block of size 52 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20786== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6bec is 44 bytes inside a block of size 200 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20786== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20786== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6c04 is 68 bytes inside a block of size 200 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20786== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6a1c is 4 bytes inside a block of size 52 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20786== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6a1c is 4 bytes inside a block of size 52 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20786== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6910 is 0 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6918 is 8 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6910 is 0 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6910 is 0 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6928 is 24 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb691c is 12 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6914 is 4 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6914 is 4 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==20786== Invalid read of size 4
==20786== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Address 0x4eb6934 is 36 bytes inside a block of size 40 free'd
==20786== at 0x40285F2: free (vg_replace_malloc.c:530)
==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786== Block was alloc'd at
==20786== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20786== by 0x805E940: main (nginx.c:367)
==20786==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==20826== Invalid read of size 4
==20826== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Address 0x525dfac is 20 bytes inside a block of size 52 free'd
==20826== at 0x40285F2: free (vg_replace_malloc.c:530)
==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Block was alloc'd at
==20826== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20826== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20826== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==20826== Invalid read of size 4
==20826== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Address 0x525e0d0 is 48 bytes inside a block of size 52 free'd
==20826== at 0x40285F2: free (vg_replace_malloc.c:530)
==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Block was alloc'd at
==20826== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20826== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==20826== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==20826== Invalid read of size 4
==20826== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Address 0x525e16c is 44 bytes inside a block of size 200 free'd
==20826== at 0x40285F2: free (vg_replace_malloc.c:530)
==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Block was alloc'd at
==20826== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20826== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20826== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==20826== Invalid read of size 4
==20826== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==20826== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Address 0x525e184 is 68 bytes inside a block of size 200 free'd
==20826== at 0x40285F2: free (vg_replace_malloc.c:530)
==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Block was alloc'd at
==20826== at 0x4029679: malloc (vg_replace_malloc.c:299)
==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==20826== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==20826== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826==
{
<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_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==20826== Invalid read of size 4
==20826== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==20826== by 0x805E940: main (nginx.c:367)
==20826== Address 0x525df9c is 4 bytes inside a block of size 52 free'd
==20826== at 0x40285F2: free (vg_replace_malloc.c:530)
==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycl