(This page was automatically generated by the tools in the opsboy project on 21:45:58 31-Oct-2016 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
aafd50b2 | 2016-10-29 23:15:06 GMT | 469 | 30 | 94 | 7554 | 1354 sec |
File | Name | Details |
---|---|---|
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==13555== Invalid read of size 4 ==13555== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b0659c is 20 bytes inside a block of size 52 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13555== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b066c0 is 48 bytes inside a block of size 52 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13555== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b0675c is 44 bytes inside a block of size 200 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13555== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13555== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06774 is 68 bytes inside a block of size 200 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13555== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <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 |
==13555== Invalid read of size 4 ==13555== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b0658c is 4 bytes inside a block of size 52 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13555== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b0658c is 4 bytes inside a block of size 52 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13555== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <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 |
==13555== Invalid read of size 4 ==13555== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06480 is 0 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <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 |
==13555== Invalid read of size 4 ==13555== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06488 is 8 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06480 is 0 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06480 is 0 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06498 is 24 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b0648c is 12 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06484 is 4 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b06484 is 4 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13555== Invalid read of size 4 ==13555== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Address 0x4b064a4 is 36 bytes inside a block of size 40 free'd ==13555== at 0x40285F2: free (vg_replace_malloc.c:530) ==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== Block was alloc'd at ==13555== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==13555== by 0x805E940: main (nginx.c:367) ==13555== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebfdc is 20 bytes inside a block of size 52 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13565== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cec100 is 48 bytes inside a block of size 52 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13565== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cec19c is 44 bytes inside a block of size 200 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13565== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13565== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cec1b4 is 68 bytes inside a block of size 200 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13565== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <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 |
==13565== Invalid read of size 4 ==13565== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebfcc is 4 bytes inside a block of size 52 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13565== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebfcc is 4 bytes inside a block of size 52 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13565== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <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 |
==13565== Invalid read of size 4 ==13565== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebec0 is 0 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <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 |
==13565== Invalid read of size 4 ==13565== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebec8 is 8 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebec0 is 0 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebec0 is 0 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebed8 is 24 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebecc is 12 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebec4 is 4 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebec4 is 4 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13565== Invalid read of size 4 ==13565== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Address 0x4cebee4 is 36 bytes inside a block of size 40 free'd ==13565== at 0x40285F2: free (vg_replace_malloc.c:530) ==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== Block was alloc'd at ==13565== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13565== by 0x805E940: main (nginx.c:367) ==13565== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf6dc is 20 bytes inside a block of size 52 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf800 is 48 bytes inside a block of size 52 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13584== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf89c is 44 bytes inside a block of size 200 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13584== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13584== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf8b4 is 68 bytes inside a block of size 200 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13584== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <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 |
==13584== Invalid read of size 4 ==13584== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf6cc is 4 bytes inside a block of size 52 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf6cc is 4 bytes inside a block of size 52 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <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 |
==13584== Invalid read of size 4 ==13584== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5c0 is 0 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <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 |
==13584== Invalid read of size 4 ==13584== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5c8 is 8 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5c0 is 0 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5c0 is 0 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5d8 is 24 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5cc is 12 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5c4 is 4 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5c4 is 4 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13584== Invalid read of size 4 ==13584== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Address 0x4ebf5e4 is 36 bytes inside a block of size 40 free'd ==13584== at 0x40285F2: free (vg_replace_malloc.c:530) ==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== Block was alloc'd at ==13584== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13584== by 0x805E940: main (nginx.c:367) ==13584== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x52662ac is 20 bytes inside a block of size 52 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13624== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x52663d0 is 48 bytes inside a block of size 52 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13624== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x526646c is 44 bytes inside a block of size 200 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13624== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13624== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266484 is 68 bytes inside a block of size 200 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13624== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <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 |
==13624== Invalid read of size 4 ==13624== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x526629c is 4 bytes inside a block of size 52 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13624== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x526629c is 4 bytes inside a block of size 52 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13624== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <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 |
==13624== Invalid read of size 4 ==13624== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266190 is 0 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <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 |
==13624== Invalid read of size 4 ==13624== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266198 is 8 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266190 is 0 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266190 is 0 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x52661a8 is 24 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x526619c is 12 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266194 is 4 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x5266194 is 4 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13624== Invalid read of size 4 ==13624== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Address 0x52661b4 is 36 bytes inside a block of size 40 free'd ==13624== at 0x40285F2: free (vg_replace_malloc.c:530) ==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== Block was alloc'd at ==13624== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13624== by 0x805E940: main (nginx.c:367) ==13624== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439f8c is 20 bytes inside a block of size 52 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13644== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x543a0b0 is 48 bytes inside a block of size 52 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13644== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x543a14c is 44 bytes inside a block of size 200 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13644== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13644== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x543a164 is 68 bytes inside a block of size 200 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13644== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <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 |
==13644== Invalid read of size 4 ==13644== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439f7c is 4 bytes inside a block of size 52 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13644== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439f7c is 4 bytes inside a block of size 52 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13644== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <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 |
==13644== Invalid read of size 4 ==13644== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e70 is 0 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <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 |
==13644== Invalid read of size 4 ==13644== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e78 is 8 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e70 is 0 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e70 is 0 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e88 is 24 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e7c is 12 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e74 is 4 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e74 is 4 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13644== Invalid read of size 4 ==13644== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Address 0x5439e94 is 36 bytes inside a block of size 40 free'd ==13644== at 0x40285F2: free (vg_replace_malloc.c:530) ==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== Block was alloc'd at ==13644== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13644== by 0x805E940: main (nginx.c:367) ==13644== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dbe4 is 20 bytes inside a block of size 52 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13668== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dd08 is 48 bytes inside a block of size 52 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13668== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dda4 is 44 bytes inside a block of size 200 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13668== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13668== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560fea8 is 104 bytes inside a block of size 352 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x8060485: ngx_list_init (ngx_list.h:39) ==13668== by 0x8060485: ngx_list_create (ngx_list.c:22) ==13668== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==13668== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==13668== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==13668== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==13668== by 0x4078855: lua_resume (lj_api.c:1142) ==13668== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==13668== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <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 |
==13668== Invalid read of size 4 ==13668== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dbd4 is 4 bytes inside a block of size 52 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13668== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dbd4 is 4 bytes inside a block of size 52 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13668== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <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 |
==13668== Invalid read of size 4 ==13668== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dac8 is 0 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <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 |
==13668== Invalid read of size 4 ==13668== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dad0 is 8 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dac8 is 0 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dac8 is 0 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dae0 is 24 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dad4 is 12 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dacc is 4 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560dacc is 4 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13668== Invalid read of size 4 ==13668== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Address 0x560daec is 36 bytes inside a block of size 40 free'd ==13668== at 0x40285F2: free (vg_replace_malloc.c:530) ==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== Block was alloc'd at ==13668== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13668== by 0x805E940: main (nginx.c:367) ==13668== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b8844c is 20 bytes inside a block of size 52 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88570 is 48 bytes inside a block of size 52 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13728== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b8860c is 44 bytes inside a block of size 200 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13728== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13728== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88624 is 68 bytes inside a block of size 200 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13728== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <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 |
==13728== Invalid read of size 4 ==13728== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b8843c is 4 bytes inside a block of size 52 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b8843c is 4 bytes inside a block of size 52 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <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 |
==13728== Invalid read of size 4 ==13728== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88330 is 0 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <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 |
==13728== Invalid read of size 4 ==13728== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88338 is 8 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88330 is 0 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88330 is 0 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88348 is 24 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b8833c is 12 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88334 is 4 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88334 is 4 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13728== Invalid read of size 4 ==13728== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Address 0x5b88354 is 36 bytes inside a block of size 40 free'd ==13728== at 0x40285F2: free (vg_replace_malloc.c:530) ==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== Block was alloc'd at ==13728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13728== by 0x805E940: main (nginx.c:367) ==13728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bd8c is 20 bytes inside a block of size 52 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13748== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5beb0 is 48 bytes inside a block of size 52 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13748== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bf4c is 44 bytes inside a block of size 200 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13748== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13748== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bf64 is 68 bytes inside a block of size 200 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13748== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <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 |
==13748== Invalid read of size 4 ==13748== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bd7c is 4 bytes inside a block of size 52 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13748== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bd7c is 4 bytes inside a block of size 52 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13748== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <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 |
==13748== Invalid read of size 4 ==13748== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc70 is 0 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <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 |
==13748== Invalid read of size 4 ==13748== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc78 is 8 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc70 is 0 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc70 is 0 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc88 is 24 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc7c is 12 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc74 is 4 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc74 is 4 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13748== Invalid read of size 4 ==13748== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Address 0x5d5bc94 is 36 bytes inside a block of size 40 free'd ==13748== at 0x40285F2: free (vg_replace_malloc.c:530) ==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== Block was alloc'd at ==13748== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13748== by 0x805E940: main (nginx.c:367) ==13748== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d142dc is 20 bytes inside a block of size 52 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13848== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d143d0 is 48 bytes inside a block of size 52 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13848== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d1446c is 44 bytes inside a block of size 200 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13848== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13848== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x50a5f10 is 16 bytes inside a block of size 352 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x8060485: ngx_list_init (ngx_list.h:39) ==13848== by 0x8060485: ngx_list_create (ngx_list.c:22) ==13848== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==13848== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==13848== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==13848== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==13848== by 0x4078855: lua_resume (lj_api.c:1142) ==13848== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==13848== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <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 |
==13848== Invalid read of size 4 ==13848== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d142cc is 4 bytes inside a block of size 52 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13848== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d142cc is 4 bytes inside a block of size 52 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13848== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <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 |
==13848== Invalid read of size 4 ==13848== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141c0 is 0 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <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 |
==13848== Invalid read of size 4 ==13848== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141c8 is 8 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141c0 is 0 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141c0 is 0 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141d8 is 24 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141cc is 12 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141c4 is 4 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141c4 is 4 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13848== Invalid read of size 4 ==13848== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Address 0x4d141e4 is 36 bytes inside a block of size 40 free'd ==13848== at 0x40285F2: free (vg_replace_malloc.c:530) ==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== Block was alloc'd at ==13848== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13848== by 0x805E940: main (nginx.c:367) ==13848== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4994 is 20 bytes inside a block of size 52 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13868== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4a88 is 48 bytes inside a block of size 52 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13868== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4b24 is 44 bytes inside a block of size 200 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13868== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13868== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x527ae18 is 16 bytes inside a block of size 352 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x8060485: ngx_list_init (ngx_list.h:39) ==13868== by 0x8060485: ngx_list_create (ngx_list.c:22) ==13868== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==13868== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==13868== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==13868== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==13868== by 0x4078855: lua_resume (lj_api.c:1142) ==13868== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==13868== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <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 |
==13868== Invalid read of size 4 ==13868== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4984 is 4 bytes inside a block of size 52 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13868== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4984 is 4 bytes inside a block of size 52 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13868== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <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 |
==13868== Invalid read of size 4 ==13868== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4878 is 0 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <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 |
==13868== Invalid read of size 4 ==13868== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4880 is 8 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4878 is 0 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4878 is 0 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4890 is 24 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed4884 is 12 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed487c is 4 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed487c is 4 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13868== Invalid read of size 4 ==13868== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Address 0x4ed489c is 36 bytes inside a block of size 40 free'd ==13868== at 0x40285F2: free (vg_replace_malloc.c:530) ==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== Block was alloc'd at ==13868== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13868== by 0x805E940: main (nginx.c:367) ==13868== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086dac is 20 bytes inside a block of size 52 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13888== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086ea0 is 48 bytes inside a block of size 52 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13888== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086f3c is 44 bytes inside a block of size 200 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13888== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13888== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086f54 is 68 bytes inside a block of size 200 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13888== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <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 |
==13888== Invalid read of size 4 ==13888== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086d9c is 4 bytes inside a block of size 52 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13888== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086d9c is 4 bytes inside a block of size 52 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13888== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <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 |
==13888== Invalid read of size 4 ==13888== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c90 is 0 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <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 |
==13888== Invalid read of size 4 ==13888== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c98 is 8 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c90 is 0 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c90 is 0 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086ca8 is 24 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c9c is 12 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c94 is 4 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086c94 is 4 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13888== Invalid read of size 4 ==13888== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Address 0x5086cb4 is 36 bytes inside a block of size 40 free'd ==13888== at 0x40285F2: free (vg_replace_malloc.c:530) ==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== Block was alloc'd at ==13888== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13888== by 0x805E940: main (nginx.c:367) ==13888== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fe24 is 20 bytes inside a block of size 52 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x5462290 is 48 bytes inside a block of size 52 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13928== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x54622f4 is 44 bytes inside a block of size 200 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13928== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==13928== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x546230c is 68 bytes inside a block of size 200 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==13928== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <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 |
==13928== Invalid read of size 4 ==13928== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fe14 is 4 bytes inside a block of size 52 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fe14 is 4 bytes inside a block of size 52 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==13928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <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 |
==13928== Invalid read of size 4 ==13928== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd08 is 0 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <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 |
==13928== Invalid read of size 4 ==13928== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd10 is 8 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd08 is 0 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd08 is 0 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd20 is 24 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd14 is 12 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd0c is 4 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd0c is 4 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==13928== Invalid read of size 4 ==13928== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Address 0x544fd2c is 36 bytes inside a block of size 40 free'd ==13928== at 0x40285F2: free (vg_replace_malloc.c:530) ==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== Block was alloc'd at ==13928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==13928== by 0x805E940: main (nginx.c:367) ==13928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
094-uthread-exit.t | TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,4 @@ before hello in thread after +failed to connect: connection refused ' |
094-uthread-exit.t | TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:44:06 [error] 13959\#0: *28 connect() failed (111: Connection refused) while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) | |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b8d4 is 20 bytes inside a block of size 52 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14210== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b9f8 is 48 bytes inside a block of size 52 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14210== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508ba94 is 44 bytes inside a block of size 200 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14210== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14210== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508baac is 68 bytes inside a block of size 200 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14210== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b8c4 is 4 bytes inside a block of size 52 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14210== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b8c4 is 4 bytes inside a block of size 52 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14210== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7b8 is 0 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7c0 is 8 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7b8 is 0 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7b8 is 0 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7d0 is 24 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7c4 is 12 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7bc is 4 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7bc is 4 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 14: waiting on two simple user threads without I/O, both aborted by errors |
==14210== Invalid read of size 4 ==14210== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Address 0x508b7dc is 36 bytes inside a block of size 40 free'd ==14210== at 0x40285F2: free (vg_replace_malloc.c:530) ==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== Block was alloc'd at ==14210== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14210== by 0x805E940: main (nginx.c:367) ==14210== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db724 is 20 bytes inside a block of size 52 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14290== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db818 is 48 bytes inside a block of size 52 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14290== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db8b4 is 44 bytes inside a block of size 200 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14290== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14290== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db8cc is 68 bytes inside a block of size 200 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14290== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db714 is 4 bytes inside a block of size 52 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14290== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db714 is 4 bytes inside a block of size 52 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14290== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db608 is 0 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db610 is 8 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db608 is 0 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db608 is 0 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db620 is 24 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db614 is 12 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db60c is 4 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db60c is 4 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 21: waiting on a dead coroutine |
==14290== Invalid read of size 4 ==14290== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Address 0x57db62c is 36 bytes inside a block of size 40 free'd ==14290== at 0x40285F2: free (vg_replace_malloc.c:530) ==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== Block was alloc'd at ==14290== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14290== by 0x805E940: main (nginx.c:367) ==14290== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad754 is 20 bytes inside a block of size 52 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14310== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad808 is 48 bytes inside a block of size 52 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14310== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad86c is 44 bytes inside a block of size 200 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14310== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14310== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad884 is 68 bytes inside a block of size 200 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14310== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad744 is 4 bytes inside a block of size 52 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14310== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad744 is 4 bytes inside a block of size 52 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14310== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6a8 is 0 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6b0 is 8 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6a8 is 0 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6a8 is 0 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6c0 is 24 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6b4 is 12 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6ac is 4 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6ac is 4 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) |
==14310== Invalid read of size 4 ==14310== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14310== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14310== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Address 0x58ad6cc is 36 bytes inside a block of size 40 free'd ==14310== at 0x40285F2: free (vg_replace_malloc.c:530) ==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== Block was alloc'd at ==14310== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14310== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14310== by 0x805E940: main (nginx.c:367) ==14310== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56554 is 20 bytes inside a block of size 52 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14350== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56678 is 48 bytes inside a block of size 52 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14350== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56714 is 44 bytes inside a block of size 200 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14350== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14350== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d5672c is 68 bytes inside a block of size 200 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14350== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <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) |
==14350== Invalid read of size 4 ==14350== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56544 is 4 bytes inside a block of size 52 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14350== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56544 is 4 bytes inside a block of size 52 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14350== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <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) |
==14350== Invalid read of size 4 ==14350== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56438 is 0 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <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) |
==14350== Invalid read of size 4 ==14350== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56440 is 8 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56438 is 0 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56438 is 0 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56450 is 24 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d56444 is 12 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d5643c is 4 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d5643c is 4 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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) |
==14350== Invalid read of size 4 ==14350== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14350== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14350== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14350== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Address 0x5d5645c is 36 bytes inside a block of size 40 free'd ==14350== at 0x40285F2: free (vg_replace_malloc.c:530) ==14350== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14350== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14350== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14350== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14350== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14350== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14350== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14350== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14350== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14350== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14350== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== Block was alloc'd at ==14350== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14350== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14350== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14350== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14350== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14350== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14350== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14350== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14350== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14350== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14350== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14350== by 0x805E940: main (nginx.c:367) ==14350== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2184 is 20 bytes inside a block of size 52 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14370== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2278 is 48 bytes inside a block of size 52 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14370== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2314 is 44 bytes inside a block of size 200 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14370== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14370== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e232c is 68 bytes inside a block of size 200 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14370== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2174 is 4 bytes inside a block of size 52 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14370== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2174 is 4 bytes inside a block of size 52 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14370== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2068 is 0 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2070 is 8 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2068 is 0 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2068 is 0 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2080 is 24 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e2074 is 12 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e206c is 4 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e206c is 4 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 11: waiting on two simple user threads without I/O |
==14370== Invalid read of size 4 ==14370== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14370== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14370== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14370== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Address 0x48e208c is 36 bytes inside a block of size 40 free'd ==14370== at 0x40285F2: free (vg_replace_malloc.c:530) ==14370== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14370== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14370== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14370== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14370== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14370== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14370== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14370== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14370== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14370== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14370== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== Block was alloc'd at ==14370== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14370== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14370== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14370== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14370== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14370== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14370== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14370== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14370== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14370== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14370== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14370== by 0x805E940: main (nginx.c:367) ==14370== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce2094 is 20 bytes inside a block of size 52 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14450== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce2188 is 48 bytes inside a block of size 52 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14450== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce2224 is 44 bytes inside a block of size 200 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14450== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14450== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce223c is 68 bytes inside a block of size 200 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14450== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <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 |
==14450== Invalid read of size 4 ==14450== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce2084 is 4 bytes inside a block of size 52 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14450== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce2084 is 4 bytes inside a block of size 52 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14450== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <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 |
==14450== Invalid read of size 4 ==14450== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f78 is 0 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <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 |
==14450== Invalid read of size 4 ==14450== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f80 is 8 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f78 is 0 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f78 is 0 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f90 is 24 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f84 is 12 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f7c is 4 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f7c is 4 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14450== Invalid read of size 4 ==14450== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14450== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14450== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14450== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Address 0x4ce1f9c is 36 bytes inside a block of size 40 free'd ==14450== at 0x40285F2: free (vg_replace_malloc.c:530) ==14450== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14450== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14450== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14450== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14450== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14450== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14450== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14450== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14450== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14450== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14450== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== Block was alloc'd at ==14450== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14450== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14450== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14450== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14450== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14450== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14450== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14450== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14450== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14450== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14450== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14450== by 0x805E940: main (nginx.c:367) ==14450== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50bd964 is 20 bytes inside a block of size 52 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14490== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50bda58 is 48 bytes inside a block of size 52 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14490== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50bdaf4 is 44 bytes inside a block of size 200 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14490== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14490== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50bdb0c is 68 bytes inside a block of size 200 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14490== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50bd954 is 4 bytes inside a block of size 52 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14490== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50bd954 is 4 bytes inside a block of size 52 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14490== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4b8 is 0 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4c0 is 8 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4b8 is 0 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4b8 is 0 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4d0 is 24 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4c4 is 12 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4bc is 4 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4bc is 4 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 22: spawn and wait uthreads for many times |
==14490== Invalid read of size 4 ==14490== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14490== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14490== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14490== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Address 0x50ab4dc is 36 bytes inside a block of size 40 free'd ==14490== at 0x40285F2: free (vg_replace_malloc.c:530) ==14490== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14490== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14490== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14490== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14490== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14490== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14490== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14490== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14490== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14490== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14490== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== Block was alloc'd at ==14490== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14490== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14490== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14490== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14490== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14490== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14490== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14490== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14490== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14490== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14490== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14490== by 0x805E940: main (nginx.c:367) ==14490== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x580dcd4 is 20 bytes inside a block of size 52 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14570== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x580ddc8 is 48 bytes inside a block of size 52 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14570== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x580de64 is 44 bytes inside a block of size 200 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14570== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==14570== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x580de7c is 68 bytes inside a block of size 200 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==14570== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <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 |
==14570== Invalid read of size 4 ==14570== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x580dcc4 is 4 bytes inside a block of size 52 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14570== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x580dcc4 is 4 bytes inside a block of size 52 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==14570== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <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 7: simple user thread wait without I/O, throw errors |
==14570== Invalid read of size 4 ==14570== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0a0 is 0 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <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 7: simple user thread wait without I/O, throw errors |
==14570== Invalid read of size 4 ==14570== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0a8 is 8 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0a0 is 0 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0a0 is 0 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0b8 is 24 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0ac is 12 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0a4 is 4 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0a4 is 4 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 |
==14570== Invalid read of size 4 ==14570== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==14570== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==14570== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==14570== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Address 0x57fb0c4 is 36 bytes inside a block of size 40 free'd ==14570== at 0x40285F2: free (vg_replace_malloc.c:530) ==14570== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==14570== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==14570== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==14570== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==14570== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==14570== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==14570== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14570== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14570== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14570== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14570== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== Block was alloc'd at ==14570== at 0x4029679: malloc (vg_replace_malloc.c:299) ==14570== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==14570== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==14570== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==14570== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==14570== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14570== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14570== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14570== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14570== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14570== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14570== by 0x805E940: main (nginx.c:367) ==14570== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 2: number typed value |
==14611== Use of uninitialised value of size 4 ==14611== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14611== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14611== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14611== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14611== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14611== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14611== by 0x4078855: lua_resume (lj_api.c:1142) ==14611== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14611== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14611== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14611== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14611== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14611== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14611== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14611== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14611== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14611== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14611== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14611== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14611== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==14611== by 0x805E940: main (nginx.c:367) ==14611== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 2: number typed value |
==14611== Invalid read of size 4 ==14611== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14611== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14611== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14611== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14611== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14611== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14611== by 0x4078855: lua_resume (lj_api.c:1142) ==14611== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14611== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14611== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14611== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14611== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14611== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14611== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14611== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14611== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14611== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14611== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14611== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14611== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==14611== by 0x805E940: main (nginx.c:367) ==14611== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14611== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 2: number typed value |
==14611== ==14611== Process terminating with default action of signal 11 (SIGSEGV) ==14611== Access not within mapped region at address 0x2C ==14611== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14611== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14611== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14611== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14611== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14611== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14611== by 0x4078855: lua_resume (lj_api.c:1142) ==14611== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14611== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14611== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14611== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14611== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14611== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14611== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14611== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14611== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14611== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14611== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14611== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14611== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==14611== by 0x805E940: main (nginx.c:367) ==14611== If you believe this happened as a result of a stack ==14611== overflow in your program's main thread (unlikely but ==14611== possible), you can try to increase the size of the ==14611== main thread stack using the --main-stacksize= flag. ==14611== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 2: number typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 2: number typed value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=3, val=1234567 -bar: rc=0, type=3, val=3.14159 ' |
099-c-api.t | TEST 2: number typed value |
==14612== Use of uninitialised value of size 4 ==14612== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14612== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14612== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14612== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14612== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14612== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14612== by 0x4078855: lua_resume (lj_api.c:1142) ==14612== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14612== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14612== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14612== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14612== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14612== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14612== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14612== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14612== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14612== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14612== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14612== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14612== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14612== by 0x805E940: main (nginx.c:367) ==14612== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 2: number typed value |
==14612== Invalid read of size 4 ==14612== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14612== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14612== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14612== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14612== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14612== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14612== by 0x4078855: lua_resume (lj_api.c:1142) ==14612== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14612== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14612== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14612== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14612== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14612== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14612== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14612== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14612== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14612== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14612== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14612== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14612== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14612== by 0x805E940: main (nginx.c:367) ==14612== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14612== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 2: number typed value |
==14612== ==14612== Process terminating with default action of signal 11 (SIGSEGV) ==14612== Access not within mapped region at address 0x2C ==14612== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14612== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14612== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14612== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14612== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14612== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14612== by 0x4078855: lua_resume (lj_api.c:1142) ==14612== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14612== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14612== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14612== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14612== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14612== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14612== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14612== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14612== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14612== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14612== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14612== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14612== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14612== by 0x805E940: main (nginx.c:367) ==14612== If you believe this happened as a result of a stack ==14612== overflow in your program's main thread (unlikely but ==14612== possible), you can try to increase the size of the ==14612== main thread stack using the --main-stacksize= flag. ==14612== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 2: number typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 2: number typed value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=3, val=1234567 -bar: rc=0, type=3, val=3.14159 ' |
099-c-api.t | TEST 2: number typed value |
==14613== Use of uninitialised value of size 4 ==14613== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14613== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14613== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14613== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14613== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14613== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14613== by 0x4078855: lua_resume (lj_api.c:1142) ==14613== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14613== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14613== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14613== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14613== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14613== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14613== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14613== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14613== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14613== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14613== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14613== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14613== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14613== by 0x805E940: main (nginx.c:367) ==14613== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 2: number typed value |
==14613== Invalid read of size 4 ==14613== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14613== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14613== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14613== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14613== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14613== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14613== by 0x4078855: lua_resume (lj_api.c:1142) ==14613== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14613== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14613== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14613== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14613== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14613== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14613== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14613== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14613== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14613== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14613== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14613== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14613== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14613== by 0x805E940: main (nginx.c:367) ==14613== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14613== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 2: number typed value |
==14613== ==14613== Process terminating with default action of signal 11 (SIGSEGV) ==14613== Access not within mapped region at address 0x2C ==14613== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14613== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14613== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14613== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14613== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14613== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14613== by 0x4078855: lua_resume (lj_api.c:1142) ==14613== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14613== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14613== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14613== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14613== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14613== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14613== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14613== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14613== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14613== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14613== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14613== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14613== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14613== by 0x805E940: main (nginx.c:367) ==14613== If you believe this happened as a result of a stack ==14613== overflow in your program's main thread (unlikely but ==14613== possible), you can try to increase the size of the ==14613== main thread stack using the --main-stacksize= flag. ==14613== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 2: number typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 2: number typed value - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=3, val=1234567 -bar: rc=0, type=3, val=3.14159 ' |
099-c-api.t | TEST 6: nil typed value |
==14622== Use of uninitialised value of size 4 ==14622== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14622== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14622== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14622== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14622== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14622== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14622== by 0x4078855: lua_resume (lj_api.c:1142) ==14622== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14622== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14622== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14622== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14622== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14622== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14622== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14622== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14622== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14622== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14622== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14622== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14622== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14622== by 0x805E940: main (nginx.c:367) ==14622== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 6: nil typed value |
==14622== Invalid read of size 4 ==14622== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14622== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14622== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14622== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14622== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14622== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14622== by 0x4078855: lua_resume (lj_api.c:1142) ==14622== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14622== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14622== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14622== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14622== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14622== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14622== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14622== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14622== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14622== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14622== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14622== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14622== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14622== by 0x805E940: main (nginx.c:367) ==14622== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14622== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 6: nil typed value |
==14622== ==14622== Process terminating with default action of signal 11 (SIGSEGV) ==14622== Access not within mapped region at address 0x2C ==14622== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14622== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14622== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14622== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14622== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14622== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14622== by 0x4078855: lua_resume (lj_api.c:1142) ==14622== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14622== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14622== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14622== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14622== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14622== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14622== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14622== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14622== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14622== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14622== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14622== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14622== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14622== by 0x805E940: main (nginx.c:367) ==14622== If you believe this happened as a result of a stack ==14622== overflow in your program's main thread (unlikely but ==14622== possible), you can try to increase the size of the ==14622== main thread stack using the --main-stacksize= flag. ==14622== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 6: nil typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 6: nil typed value - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'foo: rc=-5 ' |
099-c-api.t | TEST 6: nil typed value |
==14634== Use of uninitialised value of size 4 ==14634== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14634== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14634== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14634== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14634== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14634== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14634== by 0x4078855: lua_resume (lj_api.c:1142) ==14634== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14634== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14634== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14634== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14634== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14634== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14634== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14634== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14634== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14634== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14634== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14634== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14634== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14634== by 0x805E940: main (nginx.c:367) ==14634== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 6: nil typed value |
==14634== Invalid read of size 4 ==14634== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14634== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14634== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14634== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14634== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14634== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14634== by 0x4078855: lua_resume (lj_api.c:1142) ==14634== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14634== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14634== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14634== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14634== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14634== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14634== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14634== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14634== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14634== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14634== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14634== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14634== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14634== by 0x805E940: main (nginx.c:367) ==14634== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14634== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 6: nil typed value |
==14634== ==14634== Process terminating with default action of signal 11 (SIGSEGV) ==14634== Access not within mapped region at address 0x2C ==14634== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14634== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14634== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14634== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14634== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14634== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14634== by 0x4078855: lua_resume (lj_api.c:1142) ==14634== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14634== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14634== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14634== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14634== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14634== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14634== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14634== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14634== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14634== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14634== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14634== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14634== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14634== by 0x805E940: main (nginx.c:367) ==14634== If you believe this happened as a result of a stack ==14634== overflow in your program's main thread (unlikely but ==14634== possible), you can try to increase the size of the ==14634== main thread stack using the --main-stacksize= flag. ==14634== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 6: nil typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 6: nil typed value - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'foo: rc=-5 ' |
099-c-api.t | TEST 6: nil typed value |
==14635== Use of uninitialised value of size 4 ==14635== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14635== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14635== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14635== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14635== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14635== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14635== by 0x4078855: lua_resume (lj_api.c:1142) ==14635== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14635== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14635== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14635== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14635== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14635== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14635== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14635== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14635== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14635== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14635== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14635== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14635== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14635== by 0x805E940: main (nginx.c:367) ==14635== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 6: nil typed value |
==14635== Invalid read of size 4 ==14635== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14635== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14635== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14635== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14635== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14635== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14635== by 0x4078855: lua_resume (lj_api.c:1142) ==14635== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14635== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14635== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14635== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14635== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14635== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14635== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14635== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14635== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14635== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14635== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14635== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14635== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14635== by 0x805E940: main (nginx.c:367) ==14635== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14635== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 6: nil typed value |
==14635== ==14635== Process terminating with default action of signal 11 (SIGSEGV) ==14635== Access not within mapped region at address 0x2C ==14635== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14635== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14635== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14635== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14635== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14635== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14635== by 0x4078855: lua_resume (lj_api.c:1142) ==14635== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14635== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14635== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14635== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14635== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14635== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14635== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14635== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14635== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14635== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14635== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14635== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14635== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14635== by 0x805E940: main (nginx.c:367) ==14635== If you believe this happened as a result of a stack ==14635== overflow in your program's main thread (unlikely but ==14635== possible), you can try to increase the size of the ==14635== main thread stack using the --main-stacksize= flag. ==14635== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 6: nil typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 6: nil typed value - response_body - response is expected (repeated req 2, req 0) |
got: '' expected: 'foo: rc=-5 ' |
099-c-api.t | TEST 5: string typed value |
==14661== Use of uninitialised value of size 4 ==14661== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14661== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14661== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14661== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14661== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14661== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14661== by 0x4078855: lua_resume (lj_api.c:1142) ==14661== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14661== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14661== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14661== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14661== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14661== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14661== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14661== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14661== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14661== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14661== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14661== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14661== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14661== by 0x805E940: main (nginx.c:367) ==14661== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 5: string typed value |
==14661== Invalid read of size 4 ==14661== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14661== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14661== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14661== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14661== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14661== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14661== by 0x4078855: lua_resume (lj_api.c:1142) ==14661== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14661== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14661== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14661== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14661== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14661== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14661== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14661== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14661== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14661== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14661== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14661== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14661== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14661== by 0x805E940: main (nginx.c:367) ==14661== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14661== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 5: string typed value |
==14661== ==14661== Process terminating with default action of signal 11 (SIGSEGV) ==14661== Access not within mapped region at address 0x2C ==14661== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14661== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14661== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14661== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14661== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14661== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14661== by 0x4078855: lua_resume (lj_api.c:1142) ==14661== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14661== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14661== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14661== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14661== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14661== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14661== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14661== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14661== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14661== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14661== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14661== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14661== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14661== by 0x805E940: main (nginx.c:367) ==14661== If you believe this happened as a result of a stack ==14661== overflow in your program's main thread (unlikely but ==14661== possible), you can try to increase the size of the ==14661== main thread stack using the --main-stacksize= flag. ==14661== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 5: string typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 5: string typed value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=4, val=hello world, len=11 -bar: rc=0, type=4, val=, len=0 ' |
099-c-api.t | TEST 5: string typed value |
==14674== Use of uninitialised value of size 4 ==14674== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14674== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14674== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14674== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14674== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14674== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14674== by 0x4078855: lua_resume (lj_api.c:1142) ==14674== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14674== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14674== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14674== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14674== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14674== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14674== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14674== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14674== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14674== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14674== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14674== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14674== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14674== by 0x805E940: main (nginx.c:367) ==14674== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 5: string typed value |
==14674== Invalid read of size 4 ==14674== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14674== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14674== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14674== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14674== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14674== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14674== by 0x4078855: lua_resume (lj_api.c:1142) ==14674== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14674== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14674== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14674== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14674== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14674== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14674== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14674== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14674== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14674== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14674== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14674== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14674== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14674== by 0x805E940: main (nginx.c:367) ==14674== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14674== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 5: string typed value |
==14674== ==14674== Process terminating with default action of signal 11 (SIGSEGV) ==14674== Access not within mapped region at address 0x2C ==14674== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14674== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14674== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14674== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14674== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14674== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14674== by 0x4078855: lua_resume (lj_api.c:1142) ==14674== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14674== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14674== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14674== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14674== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14674== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14674== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14674== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14674== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14674== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14674== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14674== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14674== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14674== by 0x805E940: main (nginx.c:367) ==14674== If you believe this happened as a result of a stack ==14674== overflow in your program's main thread (unlikely but ==14674== possible), you can try to increase the size of the ==14674== main thread stack using the --main-stacksize= flag. ==14674== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 5: string typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 5: string typed value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=4, val=hello world, len=11 -bar: rc=0, type=4, val=, len=0 ' |
099-c-api.t | TEST 5: string typed value |
==14675== Use of uninitialised value of size 4 ==14675== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14675== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14675== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14675== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14675== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14675== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14675== by 0x4078855: lua_resume (lj_api.c:1142) ==14675== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14675== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14675== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14675== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14675== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14675== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14675== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14675== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14675== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14675== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14675== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14675== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14675== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14675== by 0x805E940: main (nginx.c:367) ==14675== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 5: string typed value |
==14675== Invalid read of size 4 ==14675== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14675== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14675== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14675== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14675== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14675== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14675== by 0x4078855: lua_resume (lj_api.c:1142) ==14675== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14675== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14675== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14675== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14675== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14675== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14675== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14675== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14675== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14675== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14675== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14675== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14675== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14675== by 0x805E940: main (nginx.c:367) ==14675== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14675== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 5: string typed value |
==14675== ==14675== Process terminating with default action of signal 11 (SIGSEGV) ==14675== Access not within mapped region at address 0x2C ==14675== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14675== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14675== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14675== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14675== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14675== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14675== by 0x4078855: lua_resume (lj_api.c:1142) ==14675== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14675== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14675== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14675== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14675== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14675== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14675== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14675== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14675== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14675== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14675== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14675== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14675== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14675== by 0x805E940: main (nginx.c:367) ==14675== If you believe this happened as a result of a stack ==14675== overflow in your program's main thread (unlikely but ==14675== possible), you can try to increase the size of the ==14675== main thread stack using the --main-stacksize= flag. ==14675== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 5: string typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 5: string typed value - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=4, val=hello world, len=11 -bar: rc=0, type=4, val=, len=0 ' |
099-c-api.t | TEST 3: boolean typed value |
==14683== Use of uninitialised value of size 4 ==14683== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14683== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14683== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14683== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14683== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14683== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14683== by 0x4078855: lua_resume (lj_api.c:1142) ==14683== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14683== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14683== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14683== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14683== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14683== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14683== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14683== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14683== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14683== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14683== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14683== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14683== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14683== by 0x805E940: main (nginx.c:367) ==14683== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 3: boolean typed value |
==14683== Invalid read of size 4 ==14683== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14683== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14683== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14683== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14683== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14683== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14683== by 0x4078855: lua_resume (lj_api.c:1142) ==14683== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14683== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14683== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14683== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14683== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14683== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14683== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14683== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14683== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14683== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14683== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14683== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14683== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14683== by 0x805E940: main (nginx.c:367) ==14683== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14683== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 3: boolean typed value |
==14683== ==14683== Process terminating with default action of signal 11 (SIGSEGV) ==14683== Access not within mapped region at address 0x2C ==14683== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14683== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14683== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14683== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14683== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14683== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14683== by 0x4078855: lua_resume (lj_api.c:1142) ==14683== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14683== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14683== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14683== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14683== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14683== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14683== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14683== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14683== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14683== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14683== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14683== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14683== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14683== by 0x805E940: main (nginx.c:367) ==14683== If you believe this happened as a result of a stack ==14683== overflow in your program's main thread (unlikely but ==14683== possible), you can try to increase the size of the ==14683== main thread stack using the --main-stacksize= flag. ==14683== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 3: boolean typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 3: boolean typed value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=1, val=1 -bar: rc=0, type=1, val=0 ' |
099-c-api.t | TEST 3: boolean typed value |
==14695== Use of uninitialised value of size 4 ==14695== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14695== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14695== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14695== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14695== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14695== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14695== by 0x4078855: lua_resume (lj_api.c:1142) ==14695== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14695== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14695== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14695== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14695== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14695== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14695== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14695== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14695== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14695== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14695== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14695== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14695== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14695== by 0x805E940: main (nginx.c:367) ==14695== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 3: boolean typed value |
==14695== Invalid read of size 4 ==14695== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14695== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14695== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14695== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14695== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14695== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14695== by 0x4078855: lua_resume (lj_api.c:1142) ==14695== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14695== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14695== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14695== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14695== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14695== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14695== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14695== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14695== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14695== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14695== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14695== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14695== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14695== by 0x805E940: main (nginx.c:367) ==14695== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14695== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 3: boolean typed value |
==14695== ==14695== Process terminating with default action of signal 11 (SIGSEGV) ==14695== Access not within mapped region at address 0x2C ==14695== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14695== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14695== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14695== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14695== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14695== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14695== by 0x4078855: lua_resume (lj_api.c:1142) ==14695== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14695== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14695== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14695== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14695== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14695== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14695== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14695== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14695== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14695== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14695== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14695== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14695== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14695== by 0x805E940: main (nginx.c:367) ==14695== If you believe this happened as a result of a stack ==14695== overflow in your program's main thread (unlikely but ==14695== possible), you can try to increase the size of the ==14695== main thread stack using the --main-stacksize= flag. ==14695== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 3: boolean typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 3: boolean typed value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=1, val=1 -bar: rc=0, type=1, val=0 ' |
099-c-api.t | TEST 3: boolean typed value |
==14696== Use of uninitialised value of size 4 ==14696== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14696== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14696== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14696== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14696== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14696== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14696== by 0x4078855: lua_resume (lj_api.c:1142) ==14696== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14696== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14696== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14696== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14696== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14696== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14696== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14696== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14696== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14696== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14696== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14696== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14696== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14696== by 0x805E940: main (nginx.c:367) ==14696== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 3: boolean typed value |
==14696== Invalid read of size 4 ==14696== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14696== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14696== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14696== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14696== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14696== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14696== by 0x4078855: lua_resume (lj_api.c:1142) ==14696== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14696== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14696== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14696== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14696== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14696== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14696== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14696== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14696== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14696== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14696== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14696== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14696== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14696== by 0x805E940: main (nginx.c:367) ==14696== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14696== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 3: boolean typed value |
==14696== ==14696== Process terminating with default action of signal 11 (SIGSEGV) ==14696== Access not within mapped region at address 0x2C ==14696== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14696== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14696== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14696== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14696== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14696== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14696== by 0x4078855: lua_resume (lj_api.c:1142) ==14696== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14696== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14696== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14696== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14696== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14696== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14696== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14696== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14696== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14696== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14696== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14696== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14696== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14696== by 0x805E940: main (nginx.c:367) ==14696== If you believe this happened as a result of a stack ==14696== overflow in your program's main thread (unlikely but ==14696== possible), you can try to increase the size of the ==14696== main thread stack using the --main-stacksize= flag. ==14696== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 3: boolean typed value - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 3: boolean typed value - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=0, type=1, val=1 -bar: rc=0, type=1, val=0 ' |
099-c-api.t | TEST 4: key not found |
==14722== Use of uninitialised value of size 4 ==14722== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14722== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14722== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14722== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14722== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14722== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14722== by 0x4078855: lua_resume (lj_api.c:1142) ==14722== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14722== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14722== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14722== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14722== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14722== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14722== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14722== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14722== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14722== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14722== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14722== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14722== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14722== by 0x805E940: main (nginx.c:367) ==14722== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 4: key not found |
==14722== Invalid read of size 4 ==14722== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14722== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14722== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14722== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14722== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14722== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14722== by 0x4078855: lua_resume (lj_api.c:1142) ==14722== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14722== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14722== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14722== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14722== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14722== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14722== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14722== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14722== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14722== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14722== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14722== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14722== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14722== by 0x805E940: main (nginx.c:367) ==14722== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14722== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
099-c-api.t | TEST 4: key not found |
==14722== ==14722== Process terminating with default action of signal 11 (SIGSEGV) ==14722== Access not within mapped region at address 0x2C ==14722== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14722== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14722== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14722== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14722== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14722== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14722== by 0x4078855: lua_resume (lj_api.c:1142) ==14722== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14722== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14722== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14722== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14722== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14722== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14722== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14722== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14722== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14722== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14722== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14722== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==14722== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==14722== by 0x805E940: main (nginx.c:367) ==14722== If you believe this happened as a result of a stack ==14722== overflow in your program's main thread (unlikely but ==14722== possible), you can try to increase the size of the ==14722== main thread stack using the --main-stacksize= flag. ==14722== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 4: key not found - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 4: key not found - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=-5 -bar: rc=-5 ' |
099-c-api.t | TEST 4: key not found |
==14735== Use of uninitialised value of size 4 ==14735== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14735== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14735== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14735== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14735== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14735== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14735== by 0x4078855: lua_resume (lj_api.c:1142) ==14735== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14735== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14735== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14735== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14735== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14735== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14735== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14735== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14735== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14735== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14735== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14735== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14735== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14735== by 0x805E940: main (nginx.c:367) ==14735== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 4: key not found |
==14735== Invalid read of size 4 ==14735== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14735== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14735== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14735== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14735== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14735== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14735== by 0x4078855: lua_resume (lj_api.c:1142) ==14735== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14735== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14735== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14735== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14735== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14735== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14735== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14735== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14735== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14735== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14735== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14735== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14735== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14735== by 0x805E940: main (nginx.c:367) ==14735== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14735== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 4: key not found |
==14735== ==14735== Process terminating with default action of signal 11 (SIGSEGV) ==14735== Access not within mapped region at address 0x2C ==14735== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14735== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14735== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14735== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14735== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14735== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14735== by 0x4078855: lua_resume (lj_api.c:1142) ==14735== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14735== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14735== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14735== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14735== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14735== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14735== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14735== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14735== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14735== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14735== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14735== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14735== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14735== by 0x805E940: main (nginx.c:367) ==14735== If you believe this happened as a result of a stack ==14735== overflow in your program's main thread (unlikely but ==14735== possible), you can try to increase the size of the ==14735== main thread stack using the --main-stacksize= flag. ==14735== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 4: key not found - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 4: key not found - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=-5 -bar: rc=-5 ' |
099-c-api.t | TEST 4: key not found |
==14736== Use of uninitialised value of size 4 ==14736== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14736== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14736== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14736== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14736== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14736== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14736== by 0x4078855: lua_resume (lj_api.c:1142) ==14736== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14736== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14736== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14736== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14736== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14736== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14736== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14736== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14736== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14736== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14736== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14736== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14736== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14736== by 0x805E940: main (nginx.c:367) ==14736== { <insert_a_suppression_name_here> Memcheck:Value4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 4: key not found |
==14736== Invalid read of size 4 ==14736== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14736== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14736== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14736== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14736== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14736== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14736== by 0x4078855: lua_resume (lj_api.c:1142) ==14736== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14736== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14736== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14736== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14736== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14736== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14736== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14736== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14736== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14736== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14736== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14736== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14736== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14736== by 0x805E940: main (nginx.c:367) ==14736== Address 0x2c is not stack'd, malloc'd or (recently) free'd ==14736== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_shmtx_lock fun:ngx_http_lua_shared_dict_get fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:lua_resume fun:ngx_stream_lua_run_thread fun:ngx_stream_lua_content_by_chunk fun:ngx_stream_lua_content_handler_inline fun:ngx_stream_lua_content_handler fun:ngx_stream_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_reap_children fun:ngx_master_process_cycle fun:main } |
099-c-api.t | TEST 4: key not found |
==14736== ==14736== Process terminating with default action of signal 11 (SIGSEGV) ==14736== Access not within mapped region at address 0x2C ==14736== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78) ==14736== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518) ==14736== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14736== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136) ==14736== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230) ==14736== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==14736== by 0x4078855: lua_resume (lj_api.c:1142) ==14736== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==14736== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==14736== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==14736== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==14736== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==14736== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==14736== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==14736== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==14736== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==14736== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==14736== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==14736== by 0x80858B7: ngx_reap_children (ngx_process_cycle.c:621) ==14736== by 0x80858B7: ngx_master_process_cycle (ngx_process_cycle.c:174) ==14736== by 0x805E940: main (nginx.c:367) ==14736== If you believe this happened as a result of a stack ==14736== overflow in your program's main thread (unlikely but ==14736== possible), you can try to increase the size of the ==14736== main thread stack using the --main-stacksize= flag. ==14736== The main thread stack size used in this run was 8388608. |
099-c-api.t | TEST 4: key not found - status code ok |
got: '' expected: '200' |
099-c-api.t | TEST 4: key not found - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +0,0 @@ -foo: rc=-5 -bar: rc=-5 ' |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c121c is 20 bytes inside a block of size 52 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==15299== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c12d8 is 48 bytes inside a block of size 52 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085) ==15299== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1374 is 44 bytes inside a block of size 200 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==15299== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==15299== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c138c is 68 bytes inside a block of size 200 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==15299== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c120c is 4 bytes inside a block of size 52 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==15299== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c120c is 4 bytes inside a block of size 52 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==15299== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1178 is 0 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1180 is 8 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1178 is 0 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1178 is 0 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1190 is 24 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c1184 is 12 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c117c is 4 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c117c is 4 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
106-timer.t | TEST 12: ngx.thread API |
==15299== Invalid read of size 4 ==15299== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==15299== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Address 0x50c119c is 36 bytes inside a block of size 40 free'd ==15299== at 0x40285F2: free (vg_replace_malloc.c:530) ==15299== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==15299== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==15299== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==15299== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==15299== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==15299== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==15299== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== Block was alloc'd at ==15299== at 0x4029679: malloc (vg_replace_malloc.c:299) ==15299== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==15299== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==15299== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==15299== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==15299== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==15299== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==15299== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==15299== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==15299== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==15299== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==15299== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==15299== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==15299== by 0x805E940: main (nginx.c:367) ==15299== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573d014 is 20 bytes inside a block of size 52 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==16003== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573d0d0 is 48 bytes inside a block of size 52 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085) ==16003== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573d16c is 44 bytes inside a block of size 200 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==16003== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==16003== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573d184 is 68 bytes inside a block of size 200 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==16003== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573d004 is 4 bytes inside a block of size 52 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==16003== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573d004 is 4 bytes inside a block of size 52 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==16003== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf70 is 0 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf78 is 8 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf70 is 0 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf70 is 0 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf88 is 24 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf7c is 12 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf74 is 4 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf74 is 4 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
108-timer-safe.t | TEST 10: ngx.thread API |
==16003== Invalid read of size 4 ==16003== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==16003== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Address 0x573cf94 is 36 bytes inside a block of size 40 free'd ==16003== at 0x40285F2: free (vg_replace_malloc.c:530) ==16003== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==16003== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==16003== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==16003== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==16003== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==16003== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==16003== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== Block was alloc'd at ==16003== at 0x4029679: malloc (vg_replace_malloc.c:299) ==16003== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==16003== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==16003== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==16003== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==16003== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==16003== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==16003== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==16003== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==16003== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==16003== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==16003== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==16003== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==16003== by 0x805E940: main (nginx.c:367) ==16003== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_timer_handler fun:ngx_event_expire_timers fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7114 is 20 bytes inside a block of size 52 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7238 is 48 bytes inside a block of size 52 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17928== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb72d4 is 44 bytes inside a block of size 200 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17928== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17928== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb72ec is 68 bytes inside a block of size 200 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17928== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7104 is 4 bytes inside a block of size 52 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7104 is 4 bytes inside a block of size 52 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb6ff8 is 0 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7000 is 8 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb6ff8 is 0 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb6ff8 is 0 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7010 is 24 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb7004 is 12 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb6ffc is 4 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb6ffc is 4 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 1: kill pending sleep |
==17928== Invalid read of size 4 ==17928== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==17928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Address 0x4eb701c is 36 bytes inside a block of size 40 free'd ==17928== at 0x40285F2: free (vg_replace_malloc.c:530) ==17928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== Block was alloc'd at ==17928== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17928== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17928== by 0x805E940: main (nginx.c:367) ==17928== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d394 is 20 bytes inside a block of size 52 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17950== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d4b8 is 48 bytes inside a block of size 52 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17950== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d554 is 44 bytes inside a block of size 200 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17950== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17950== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d56c is 68 bytes inside a block of size 200 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17950== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d384 is 4 bytes inside a block of size 52 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17950== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d384 is 4 bytes inside a block of size 52 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17950== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d278 is 0 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d280 is 8 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d278 is 0 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d278 is 0 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d290 is 24 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d284 is 12 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d27c is 4 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d27c is 4 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 3: kill pending resolver |
==17950== Invalid read of size 4 ==17950== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==17950== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17950== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17950== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Address 0x509d29c is 36 bytes inside a block of size 40 free'd ==17950== at 0x40285F2: free (vg_replace_malloc.c:530) ==17950== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17950== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17950== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17950== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17950== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17950== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17950== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17950== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17950== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17950== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17950== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== Block was alloc'd at ==17950== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17950== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17950== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17950== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17950== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17950== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17950== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17950== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17950== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17950== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17950== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17950== by 0x805E940: main (nginx.c:367) ==17950== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5dcc is 20 bytes inside a block of size 52 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17970== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5ef0 is 48 bytes inside a block of size 52 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17970== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5f8c is 44 bytes inside a block of size 200 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17970== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17970== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5fa4 is 68 bytes inside a block of size 200 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17970== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5dbc is 4 bytes inside a block of size 52 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17970== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5dbc is 4 bytes inside a block of size 52 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17970== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cb0 is 0 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cb8 is 8 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cb0 is 0 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cb0 is 0 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cc8 is 24 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cbc is 12 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cb4 is 4 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cb4 is 4 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 5: kill a thread already terminated |
==17970== Invalid read of size 4 ==17970== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==17970== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17970== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17970== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Address 0x52a5cd4 is 36 bytes inside a block of size 40 free'd ==17970== at 0x40285F2: free (vg_replace_malloc.c:530) ==17970== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17970== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17970== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17970== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17970== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17970== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17970== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17970== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17970== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17970== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17970== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== Block was alloc'd at ==17970== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17970== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17970== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17970== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17970== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17970== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17970== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17970== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17970== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17970== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17970== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17970== by 0x805E940: main (nginx.c:367) ==17970== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479b5c is 20 bytes inside a block of size 52 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17990== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479c80 is 48 bytes inside a block of size 52 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17990== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479d1c is 44 bytes inside a block of size 200 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17990== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17990== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479d34 is 68 bytes inside a block of size 200 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17990== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479b4c is 4 bytes inside a block of size 52 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17990== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479b4c is 4 bytes inside a block of size 52 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==17990== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a40 is 0 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a48 is 8 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a40 is 0 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a40 is 0 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a58 is 24 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a4c is 12 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a44 is 4 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a44 is 4 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
127-uthread-kill.t | TEST 6: kill self |
==17990== Invalid read of size 4 ==17990== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==17990== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17990== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17990== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Address 0x5479a64 is 36 bytes inside a block of size 40 free'd ==17990== at 0x40285F2: free (vg_replace_malloc.c:530) ==17990== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==17990== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17990== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17990== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17990== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17990== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17990== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17990== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17990== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==17990== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17990== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== Block was alloc'd at ==17990== at 0x4029679: malloc (vg_replace_malloc.c:299) ==17990== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==17990== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==17990== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==17990== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==17990== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17990== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==17990== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17990== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==17990== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17990== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17990== by 0x805E940: main (nginx.c:367) ==17990== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_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 } |
128-duplex-tcp-socket.t | TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 0, req 0) |
@@ -4,5 +4,5 @@ getreusedtimes: 0 nil setkeepalive: nil socket busy connecting connect: nil socket busy connecting -connect: nil timeout +connect: nil connection refused close: nil closed ' |
128-duplex-tcp-socket.t | TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 1, req 0) |
@@ -4,5 +4,5 @@ getreusedtimes: 0 nil setkeepalive: nil socket busy connecting connect: nil socket busy connecting -connect: nil timeout +connect: nil connection refused close: nil closed ' |
File | Name | Details |
---|---|---|
043-shdict.t | TEST 51: list all keys in a shdict with all keys expired - response_body - response is expected (repeated req 0, req 0) |
got: '1 ' expected: '0 ' |
043-shdict.t | TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -nil +hello -nil +hello ' |
043-shdict.t | TEST 49: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) |
got: '1 ' expected: '0 ' |
043-shdict.t | TEST 53: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) |
got: '2049 ' expected: '2048 ' |
043-shdict.t | TEST 28: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -replace: false not found false +replace: true nil false -foo = nil +foo = 10502 ' |
043-shdict.t | TEST 48: list keys in a shdict with limit larger than number of keys - response_body - response is expected (repeated req 0, req 0) |
got: '3 ' expected: '2 ' |
043-shdict.t | TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -incr: nil not found +incr: 10504 nil -foo = nil +foo = 10504 ' |
106-timer.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
106-timer.t | TEST 27: user args - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0) | |
106-timer.t | TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) |
got: 'stream lua found 8187 pending timers ' expected: 'stream lua found 8191 pending timers ' |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) |
got: 'stream lua found 8186 pending timers ' expected: 'stream lua found 8191 pending timers ' |
124-init-worker.t | TEST 18: syslog error log - udp_query ok |
'' doesn't match '(?^:Bad bad bad)' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,5 @@ -successfully set bar. +successfully set bar with force. failed to safe set baz: no memory found bar: 4000 delete bar -failed to safe set baz: no memory +successfully safe set baz ' |
126-shdict-frag.t | TEST 7: merge big slabs (less than max slab size) backward - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ -successfully set bar. +successfully set bar with force. failed to safe set baz: no memory found bar: 4000 delete bar ' |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: true -connected: 1 -ssl handshake: true ' |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: true -connected: 1 -ssl handshake: true ' |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 1) | |
132-lua-blocks.t | nginx: [emerg] | unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
Go back to the index page.