(This page was automatically generated by the tools in the opsboy project on 18:34:24 08-Apr-2017 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
72d8cf57 | 2016-11-08 20:36:23 GMT | 390 | 40 | 94 | 7509 | 1332 sec |
File | Name | Details |
---|---|---|
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0544 is 20 bytes inside a block of size 52 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20180== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0668 is 48 bytes inside a block of size 52 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20180== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0704 is 44 bytes inside a block of size 200 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20180== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20180== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec071c is 68 bytes inside a block of size 200 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20180== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0534 is 4 bytes inside a block of size 52 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20180== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0534 is 4 bytes inside a block of size 52 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20180== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0428 is 0 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0430 is 8 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0428 is 0 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0428 is 0 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0440 is 24 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec0434 is 12 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec042c is 4 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec042c is 4 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==20180== Invalid read of size 4 ==20180== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20180== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20180== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20180== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Address 0x4ec044c is 36 bytes inside a block of size 40 free'd ==20180== at 0x40285F2: free (vg_replace_malloc.c:530) ==20180== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20180== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20180== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20180== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20180== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20180== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20180== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20180== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20180== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20180== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20180== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20180== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== Block was alloc'd at ==20180== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20180== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20180== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20180== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20180== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20180== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20180== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20180== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20180== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20180== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20180== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20180== by 0x805E940: main (nginx.c:367) ==20180== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093cac is 20 bytes inside a block of size 52 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20200== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093dd0 is 48 bytes inside a block of size 52 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20200== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093e6c is 44 bytes inside a block of size 200 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20200== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20200== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5095a48 is 16 bytes inside a block of size 352 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x8060485: ngx_list_init (ngx_list.h:39) ==20200== by 0x8060485: ngx_list_create (ngx_list.c:22) ==20200== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==20200== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==20200== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==20200== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20200== by 0x4078855: lua_resume (lj_api.c:1142) ==20200== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==20200== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093c9c is 4 bytes inside a block of size 52 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20200== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093c9c is 4 bytes inside a block of size 52 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20200== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b90 is 0 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b98 is 8 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b90 is 0 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b90 is 0 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093ba8 is 24 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b9c is 12 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b94 is 4 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093b94 is 4 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==20200== Invalid read of size 4 ==20200== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20200== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20200== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20200== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Address 0x5093bb4 is 36 bytes inside a block of size 40 free'd ==20200== at 0x40285F2: free (vg_replace_malloc.c:530) ==20200== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20200== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20200== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20200== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20200== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20200== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20200== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20200== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20200== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20200== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20200== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20200== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== Block was alloc'd at ==20200== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20200== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20200== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20200== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20200== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20200== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20200== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20200== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20200== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20200== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20200== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20200== by 0x805E940: main (nginx.c:367) ==20200== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543af54 is 20 bytes inside a block of size 52 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20240== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543b078 is 48 bytes inside a block of size 52 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20240== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543b114 is 44 bytes inside a block of size 200 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20240== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20240== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543b12c is 68 bytes inside a block of size 200 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20240== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543af44 is 4 bytes inside a block of size 52 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20240== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543af44 is 4 bytes inside a block of size 52 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20240== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae38 is 0 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae40 is 8 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae38 is 0 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae38 is 0 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae50 is 24 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae44 is 12 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae3c is 4 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae3c is 4 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==20240== Invalid read of size 4 ==20240== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20240== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20240== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20240== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Address 0x543ae5c is 36 bytes inside a block of size 40 free'd ==20240== at 0x40285F2: free (vg_replace_malloc.c:530) ==20240== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20240== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20240== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20240== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20240== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20240== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20240== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20240== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20240== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20240== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20240== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20240== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== Block was alloc'd at ==20240== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20240== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20240== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20240== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20240== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20240== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20240== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20240== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20240== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20240== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20240== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20240== by 0x805E940: main (nginx.c:367) ==20240== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560ebcc is 20 bytes inside a block of size 52 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20260== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560ecf0 is 48 bytes inside a block of size 52 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20260== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560ed8c is 44 bytes inside a block of size 200 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20260== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20260== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eda4 is 68 bytes inside a block of size 200 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20260== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560ebbc is 4 bytes inside a block of size 52 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20260== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560ebbc is 4 bytes inside a block of size 52 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20260== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eab0 is 0 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eab8 is 8 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eab0 is 0 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eab0 is 0 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eac8 is 24 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eabc is 12 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eab4 is 4 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560eab4 is 4 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==20260== Invalid read of size 4 ==20260== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20260== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20260== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20260== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Address 0x560ead4 is 36 bytes inside a block of size 40 free'd ==20260== at 0x40285F2: free (vg_replace_malloc.c:530) ==20260== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20260== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20260== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20260== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20260== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20260== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20260== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20260== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20260== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20260== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20260== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20260== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== Block was alloc'd at ==20260== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20260== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20260== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20260== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20260== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20260== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20260== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20260== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20260== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20260== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20260== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20260== by 0x805E940: main (nginx.c:367) ==20260== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1fd4 is 20 bytes inside a block of size 52 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20280== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e20f8 is 48 bytes inside a block of size 52 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20280== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e2194 is 44 bytes inside a block of size 200 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20280== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20280== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e21ac is 68 bytes inside a block of size 200 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20280== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1fc4 is 4 bytes inside a block of size 52 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20280== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1fc4 is 4 bytes inside a block of size 52 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20280== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1eb8 is 0 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1ec0 is 8 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1eb8 is 0 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1eb8 is 0 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1ed0 is 24 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1ec4 is 12 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1ebc is 4 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1ebc is 4 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==20280== Invalid read of size 4 ==20280== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20280== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20280== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20280== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Address 0x57e1edc is 36 bytes inside a block of size 40 free'd ==20280== at 0x40285F2: free (vg_replace_malloc.c:530) ==20280== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20280== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20280== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20280== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20280== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20280== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20280== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20280== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20280== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20280== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20280== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20280== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== Block was alloc'd at ==20280== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20280== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20280== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20280== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20280== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20280== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20280== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20280== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20280== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20280== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20280== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20280== by 0x805E940: main (nginx.c:367) ==20280== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b8884c is 20 bytes inside a block of size 52 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20320== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88970 is 48 bytes inside a block of size 52 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20320== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88a0c is 44 bytes inside a block of size 200 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20320== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20320== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88a24 is 68 bytes inside a block of size 200 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20320== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b8883c is 4 bytes inside a block of size 52 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20320== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b8883c is 4 bytes inside a block of size 52 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20320== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88730 is 0 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88738 is 8 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88730 is 0 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88730 is 0 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88748 is 24 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b8873c is 12 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88734 is 4 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88734 is 4 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==20320== Invalid read of size 4 ==20320== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20320== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20320== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20320== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Address 0x5b88754 is 36 bytes inside a block of size 40 free'd ==20320== at 0x40285F2: free (vg_replace_malloc.c:530) ==20320== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20320== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20320== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20320== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20320== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20320== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20320== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20320== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20320== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20320== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20320== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20320== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== Block was alloc'd at ==20320== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20320== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20320== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20320== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20320== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20320== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20320== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20320== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20320== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20320== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20320== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20320== by 0x805E940: main (nginx.c:367) ==20320== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a031bc is 20 bytes inside a block of size 52 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20360== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a474b8 is 48 bytes inside a block of size 52 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20360== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a4751c is 44 bytes inside a block of size 200 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20360== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20360== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a47534 is 68 bytes inside a block of size 200 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20360== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a031ac is 4 bytes inside a block of size 52 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20360== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a031ac is 4 bytes inside a block of size 52 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20360== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03110 is 0 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03118 is 8 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03110 is 0 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03110 is 0 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03128 is 24 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a0311c is 12 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03114 is 4 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03114 is 4 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==20360== Invalid read of size 4 ==20360== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20360== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20360== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20360== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Address 0x4a03134 is 36 bytes inside a block of size 40 free'd ==20360== at 0x40285F2: free (vg_replace_malloc.c:530) ==20360== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20360== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20360== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20360== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20360== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20360== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20360== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20360== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20360== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20360== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20360== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20360== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== Block was alloc'd at ==20360== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20360== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20360== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20360== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20360== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20360== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20360== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20360== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20360== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20360== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20360== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20360== by 0x805E940: main (nginx.c:367) ==20360== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b48c is 20 bytes inside a block of size 52 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b580 is 48 bytes inside a block of size 52 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20400== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b61c is 44 bytes inside a block of size 200 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20400== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20400== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x4cffb58 is 16 bytes inside a block of size 352 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x8060485: ngx_list_init (ngx_list.h:39) ==20400== by 0x8060485: ngx_list_create (ngx_list.c:22) ==20400== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==20400== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==20400== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==20400== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20400== by 0x4078855: lua_resume (lj_api.c:1142) ==20400== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==20400== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b47c is 4 bytes inside a block of size 52 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b47c is 4 bytes inside a block of size 52 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b370 is 0 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b378 is 8 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b370 is 0 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b370 is 0 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b388 is 24 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b37c is 12 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b374 is 4 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b374 is 4 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==20400== Invalid read of size 4 ==20400== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20400== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20400== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20400== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Address 0x495b394 is 36 bytes inside a block of size 40 free'd ==20400== at 0x40285F2: free (vg_replace_malloc.c:530) ==20400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20400== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20400== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20400== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20400== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20400== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20400== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20400== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== Block was alloc'd at ==20400== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20400== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20400== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20400== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20400== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20400== by 0x805E940: main (nginx.c:367) ==20400== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14a74 is 20 bytes inside a block of size 52 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20440== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14b68 is 48 bytes inside a block of size 52 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20440== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14c04 is 44 bytes inside a block of size 200 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20440== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20440== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14c1c is 68 bytes inside a block of size 200 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20440== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14a64 is 4 bytes inside a block of size 52 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20440== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14a64 is 4 bytes inside a block of size 52 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20440== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14958 is 0 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14960 is 8 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14958 is 0 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14958 is 0 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14970 is 24 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d14964 is 12 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d1495c is 4 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d1495c is 4 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==20440== Invalid read of size 4 ==20440== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20440== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20440== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20440== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Address 0x4d1497c is 36 bytes inside a block of size 40 free'd ==20440== at 0x40285F2: free (vg_replace_malloc.c:530) ==20440== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20440== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20440== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20440== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20440== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20440== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20440== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20440== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20440== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20440== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20440== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20440== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== Block was alloc'd at ==20440== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20440== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20440== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20440== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20440== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20440== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20440== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20440== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20440== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20440== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20440== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20440== by 0x805E940: main (nginx.c:367) ==20440== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed57cc is 20 bytes inside a block of size 52 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20460== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed58c0 is 48 bytes inside a block of size 52 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20460== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed595c is 44 bytes inside a block of size 200 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20460== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20460== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x527ba58 is 104 bytes inside a block of size 352 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x8060485: ngx_list_init (ngx_list.h:39) ==20460== by 0x8060485: ngx_list_create (ngx_list.c:22) ==20460== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==20460== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==20460== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==20460== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x4078855: lua_resume (lj_api.c:1142) ==20460== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==20460== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed57bc is 4 bytes inside a block of size 52 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20460== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed57bc is 4 bytes inside a block of size 52 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20460== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56b0 is 0 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56b8 is 8 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56b0 is 0 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56b0 is 0 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56c8 is 24 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56bc is 12 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56b4 is 4 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56b4 is 4 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==20460== Invalid read of size 4 ==20460== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20460== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20460== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20460== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Address 0x4ed56d4 is 36 bytes inside a block of size 40 free'd ==20460== at 0x40285F2: free (vg_replace_malloc.c:530) ==20460== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20460== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20460== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20460== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20460== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20460== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20460== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20460== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20460== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20460== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20460== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20460== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== Block was alloc'd at ==20460== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20460== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20460== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20460== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20460== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20460== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20460== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20460== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20460== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20460== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20460== by 0x805E940: main (nginx.c:367) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc5a4 is 20 bytes inside a block of size 52 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20480== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50c0c48 is 48 bytes inside a block of size 52 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20480== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50c0ce4 is 44 bytes inside a block of size 200 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20480== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20480== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50c0cfc is 68 bytes inside a block of size 200 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20480== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc594 is 4 bytes inside a block of size 52 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20480== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc594 is 4 bytes inside a block of size 52 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20480== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc488 is 0 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc490 is 8 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc488 is 0 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc488 is 0 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc4a0 is 24 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc494 is 12 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc48c is 4 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc48c is 4 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==20480== Invalid read of size 4 ==20480== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20480== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20480== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20480== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Address 0x50bc4ac is 36 bytes inside a block of size 40 free'd ==20480== at 0x40285F2: free (vg_replace_malloc.c:530) ==20480== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20480== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20480== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20480== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20480== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20480== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20480== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20480== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20480== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20480== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20480== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20480== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== Block was alloc'd at ==20480== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20480== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20480== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20480== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20480== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20480== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20480== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20480== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20480== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20480== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20480== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20480== by 0x805E940: main (nginx.c:367) ==20480== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x527c714 is 20 bytes inside a block of size 52 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20500== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x527c808 is 48 bytes inside a block of size 52 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20500== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x527c8a4 is 44 bytes inside a block of size 200 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20500== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20500== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x527c8bc is 68 bytes inside a block of size 200 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20500== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x527c704 is 4 bytes inside a block of size 52 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20500== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x527c704 is 4 bytes inside a block of size 52 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20500== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f188 is 0 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f190 is 8 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f188 is 0 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f188 is 0 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f1a0 is 24 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f194 is 12 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f18c is 4 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f18c is 4 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==20500== Invalid read of size 4 ==20500== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20500== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20500== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20500== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Address 0x528f1ac is 36 bytes inside a block of size 40 free'd ==20500== at 0x40285F2: free (vg_replace_malloc.c:530) ==20500== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20500== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20500== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20500== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20500== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20500== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20500== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20500== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20500== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20500== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20500== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20500== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== Block was alloc'd at ==20500== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20500== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20500== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20500== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20500== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20500== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20500== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20500== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20500== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20500== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20500== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20500== by 0x805E940: main (nginx.c:367) ==20500== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc874 is 20 bytes inside a block of size 52 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20757== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc998 is 48 bytes inside a block of size 52 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20757== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afca34 is 44 bytes inside a block of size 200 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20757== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20757== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afca4c is 68 bytes inside a block of size 200 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20757== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc864 is 4 bytes inside a block of size 52 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20757== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc864 is 4 bytes inside a block of size 52 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20757== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc758 is 0 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc760 is 8 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc758 is 0 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc758 is 0 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc770 is 24 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc764 is 12 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc75c is 4 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc75c is 4 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==20757== Invalid read of size 4 ==20757== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20757== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20757== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20757== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Address 0x4afc77c is 36 bytes inside a block of size 40 free'd ==20757== at 0x40285F2: free (vg_replace_malloc.c:530) ==20757== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20757== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20757== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20757== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20757== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20757== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20757== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20757== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20757== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20757== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20757== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20757== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== Block was alloc'd at ==20757== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20757== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20757== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20757== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20757== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20757== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20757== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20757== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20757== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20757== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20757== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130) ==20757== by 0x805E940: main (nginx.c:367) ==20757== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6a2c is 20 bytes inside a block of size 52 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20786== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6b50 is 48 bytes inside a block of size 52 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20786== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6bec is 44 bytes inside a block of size 200 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20786== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20786== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6c04 is 68 bytes inside a block of size 200 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20786== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6a1c is 4 bytes inside a block of size 52 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20786== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6a1c is 4 bytes inside a block of size 52 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20786== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6910 is 0 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6918 is 8 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6910 is 0 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6910 is 0 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6928 is 24 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb691c is 12 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6914 is 4 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6914 is 4 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==20786== Invalid read of size 4 ==20786== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20786== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20786== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20786== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Address 0x4eb6934 is 36 bytes inside a block of size 40 free'd ==20786== at 0x40285F2: free (vg_replace_malloc.c:530) ==20786== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20786== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20786== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20786== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20786== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20786== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20786== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20786== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20786== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20786== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20786== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20786== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== Block was alloc'd at ==20786== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20786== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20786== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20786== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20786== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20786== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20786== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20786== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20786== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20786== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20786== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20786== by 0x805E940: main (nginx.c:367) ==20786== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525dfac is 20 bytes inside a block of size 52 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20826== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525e0d0 is 48 bytes inside a block of size 52 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20826== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525e16c is 44 bytes inside a block of size 200 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20826== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20826== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525e184 is 68 bytes inside a block of size 200 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20826== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_cleanup_pending_operation fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525df9c is 4 bytes inside a block of size 52 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20826== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525df9c is 4 bytes inside a block of size 52 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20826== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de90 is 0 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de98 is 8 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de90 is 0 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de90 is 0 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525dea8 is 24 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de9c is 12 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de94 is 4 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525de94 is 4 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors |
==20826== Invalid read of size 4 ==20826== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20826== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20826== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20826== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Address 0x525deb4 is 36 bytes inside a block of size 40 free'd ==20826== at 0x40285F2: free (vg_replace_malloc.c:530) ==20826== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20826== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20826== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20826== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20826== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20826== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20826== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20826== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20826== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20826== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20826== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20826== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== Block was alloc'd at ==20826== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20826== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20826== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20826== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20826== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20826== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20826== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20826== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20826== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20826== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20826== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20826== by 0x805E940: main (nginx.c:367) ==20826== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431b84 is 20 bytes inside a block of size 52 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20846== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431c78 is 48 bytes inside a block of size 52 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20846== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431d14 is 44 bytes inside a block of size 200 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20846== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==20846== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431d2c is 68 bytes inside a block of size 200 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==20846== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <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 |
==20846== Invalid read of size 4 ==20846== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431b74 is 4 bytes inside a block of size 52 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20846== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431b74 is 4 bytes inside a block of size 52 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==20846== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <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 |
==20846== Invalid read of size 4 ==20846== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a68 is 0 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <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 |
==20846== Invalid read of size 4 ==20846== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a70 is 8 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a68 is 0 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a68 is 0 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a80 is 24 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a74 is 12 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a6c is 4 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a6c is 4 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==20846== Invalid read of size 4 ==20846== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==20846== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==20846== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==20846== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Address 0x5431a8c is 36 bytes inside a block of size 40 free'd ==20846== at 0x40285F2: free (vg_replace_malloc.c:530) ==20846== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==20846== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==20846== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==20846== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==20846== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==20846== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==20846== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==20846== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==20846== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==20846== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==20846== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==20846== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== Block was alloc'd at ==20846== at 0x4029679: malloc (vg_replace_malloc.c:299) ==20846== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==20846== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==20846== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==20846== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==20846== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==20846== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==20846== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==20846== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==20846== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==20846== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==20846== by 0x805E940: main (nginx.c:367) ==20846== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41884 is 20 bytes inside a block of size 52 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21026== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41978 is 48 bytes inside a block of size 52 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21026== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41a14 is 44 bytes inside a block of size 200 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21026== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21026== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41a2c is 68 bytes inside a block of size 200 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21026== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <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 |
==21026== Invalid read of size 4 ==21026== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41874 is 4 bytes inside a block of size 52 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21026== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41874 is 4 bytes inside a block of size 52 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21026== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <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 |
==21026== Invalid read of size 4 ==21026== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41768 is 0 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <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 |
==21026== Invalid read of size 4 ==21026== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41770 is 8 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41768 is 0 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41768 is 0 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41780 is 24 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b41774 is 12 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b4176c is 4 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b4176c is 4 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21026== Invalid read of size 4 ==21026== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==21026== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21026== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21026== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Address 0x4b4178c is 36 bytes inside a block of size 40 free'd ==21026== at 0x40285F2: free (vg_replace_malloc.c:530) ==21026== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21026== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21026== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21026== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21026== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21026== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21026== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21026== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21026== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21026== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21026== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21026== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== Block was alloc'd at ==21026== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21026== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21026== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21026== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21026== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21026== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21026== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21026== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21026== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21026== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21026== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21026== by 0x805E940: main (nginx.c:367) ==21026== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee90ec is 20 bytes inside a block of size 52 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21066== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ed5e80 is 48 bytes inside a block of size 52 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21066== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ed5ee4 is 44 bytes inside a block of size 200 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21066== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21066== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ed5efc is 68 bytes inside a block of size 200 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21066== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <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) |
==21066== Invalid read of size 4 ==21066== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee90dc is 4 bytes inside a block of size 52 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21066== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee90dc is 4 bytes inside a block of size 52 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21066== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <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) |
==21066== Invalid read of size 4 ==21066== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fd0 is 0 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <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) |
==21066== Invalid read of size 4 ==21066== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fd8 is 8 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fd0 is 0 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fd0 is 0 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fe8 is 24 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fdc is 12 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fd4 is 4 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8fd4 is 4 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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) |
==21066== Invalid read of size 4 ==21066== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==21066== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21066== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21066== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Address 0x4ee8ff4 is 36 bytes inside a block of size 40 free'd ==21066== at 0x40285F2: free (vg_replace_malloc.c:530) ==21066== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21066== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21066== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21066== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21066== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21066== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21066== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21066== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21066== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21066== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21066== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21066== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== Block was alloc'd at ==21066== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21066== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21066== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21066== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21066== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21066== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21066== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21066== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21066== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21066== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21066== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21066== by 0x805E940: main (nginx.c:367) ==21066== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9f5c is 20 bytes inside a block of size 52 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21086== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50aa050 is 48 bytes inside a block of size 52 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21086== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50c115c is 44 bytes inside a block of size 200 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21086== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21086== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50c1174 is 68 bytes inside a block of size 200 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21086== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <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 |
==21086== Invalid read of size 4 ==21086== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9f4c is 4 bytes inside a block of size 52 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21086== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9f4c is 4 bytes inside a block of size 52 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21086== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <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 |
==21086== Invalid read of size 4 ==21086== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e40 is 0 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <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 |
==21086== Invalid read of size 4 ==21086== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e48 is 8 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e40 is 0 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e40 is 0 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e58 is 24 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e4c is 12 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e44 is 4 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e44 is 4 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21086== Invalid read of size 4 ==21086== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==21086== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21086== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21086== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Address 0x50a9e64 is 36 bytes inside a block of size 40 free'd ==21086== at 0x40285F2: free (vg_replace_malloc.c:530) ==21086== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21086== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21086== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21086== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21086== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21086== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21086== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21086== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21086== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21086== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21086== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21086== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== Block was alloc'd at ==21086== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21086== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21086== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21086== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21086== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21086== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21086== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21086== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21086== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21086== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21086== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21086== by 0x805E940: main (nginx.c:367) ==21086== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d874 is 20 bytes inside a block of size 52 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21106== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d968 is 48 bytes inside a block of size 52 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21106== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527da04 is 44 bytes inside a block of size 200 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21106== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21106== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527da1c is 68 bytes inside a block of size 200 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21106== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <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 |
==21106== Invalid read of size 4 ==21106== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d864 is 4 bytes inside a block of size 52 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21106== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d864 is 4 bytes inside a block of size 52 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==21106== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <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 |
==21106== Invalid read of size 4 ==21106== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d758 is 0 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <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 |
==21106== Invalid read of size 4 ==21106== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d760 is 8 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d758 is 0 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d758 is 0 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d770 is 24 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d764 is 12 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d75c is 4 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d75c is 4 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21106== Invalid read of size 4 ==21106== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==21106== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21106== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21106== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Address 0x527d77c is 36 bytes inside a block of size 40 free'd ==21106== at 0x40285F2: free (vg_replace_malloc.c:530) ==21106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==21106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21106== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21106== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21106== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21106== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21106== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21106== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21106== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==21106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== Block was alloc'd at ==21106== at 0x4029679: malloc (vg_replace_malloc.c:299) ==21106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==21106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==21106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==21106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==21106== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21106== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==21106== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21106== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==21106== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21106== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21106== by 0x805E940: main (nginx.c:367) ==21106== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==26523== Invalid read of size 4 ==26523== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04c44 is 20 bytes inside a block of size 52 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==26523== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a15138 is 48 bytes inside a block of size 52 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF9F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085) ==26523== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a151d4 is 44 bytes inside a block of size 200 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26523== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26523== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a151ec is 68 bytes inside a block of size 200 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26523== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04c34 is 4 bytes inside a block of size 52 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==26523== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04c34 is 4 bytes inside a block of size 52 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==26523== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04ba0 is 0 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <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 |
==26523== Invalid read of size 4 ==26523== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04ba8 is 8 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04ba0 is 0 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04ba0 is 0 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04bb8 is 24 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04bac is 12 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04ba4 is 4 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04ba4 is 4 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26523== Invalid read of size 4 ==26523== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==26523== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Address 0x4a04bc4 is 36 bytes inside a block of size 40 free'd ==26523== at 0x40285F2: free (vg_replace_malloc.c:530) ==26523== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26523== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26523== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26523== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26523== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26523== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26523== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== Block was alloc'd at ==26523== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26523== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26523== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26523== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26523== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26523== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26523== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26523== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26523== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26523== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26523== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26523== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26523== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26523== by 0x805E940: main (nginx.c:367) ==26523== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x53983b4 is 20 bytes inside a block of size 52 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==26744== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398470 is 48 bytes inside a block of size 52 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF9F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085) ==26744== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x539850c is 44 bytes inside a block of size 200 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26744== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26744== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398524 is 68 bytes inside a block of size 200 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26744== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x53983a4 is 4 bytes inside a block of size 52 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==26744== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x53983a4 is 4 bytes inside a block of size 52 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==26744== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398310 is 0 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <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 |
==26744== Invalid read of size 4 ==26744== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398318 is 8 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398310 is 0 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398310 is 0 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398328 is 24 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x539831c is 12 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398314 is 4 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398314 is 4 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 |
==26744== Invalid read of size 4 ==26744== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==26744== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Address 0x5398334 is 36 bytes inside a block of size 40 free'd ==26744== at 0x40285F2: free (vg_replace_malloc.c:530) ==26744== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==26744== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==26744== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==26744== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==26744== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26744== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26744== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== Block was alloc'd at ==26744== at 0x4029679: malloc (vg_replace_malloc.c:299) ==26744== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==26744== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==26744== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==26744== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==26744== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==26744== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==26744== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97) ==26744== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256) ==26744== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==26744== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==26744== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==26744== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==26744== by 0x805E940: main (nginx.c:367) ==26744== { <insert_a_suppression_name_here> 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 5: kill a thread already terminated |
==28689== Invalid read of size 4 ==28689== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2e74 is 20 bytes inside a block of size 52 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28689== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2f98 is 48 bytes inside a block of size 52 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28689== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce3034 is 44 bytes inside a block of size 200 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28689== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==28689== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce304c is 68 bytes inside a block of size 200 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28689== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <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 |
==28689== Invalid read of size 4 ==28689== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2e64 is 4 bytes inside a block of size 52 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28689== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2e64 is 4 bytes inside a block of size 52 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28689== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <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 |
==28689== Invalid read of size 4 ==28689== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d58 is 0 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <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 |
==28689== Invalid read of size 4 ==28689== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d60 is 8 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d58 is 0 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d58 is 0 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d70 is 24 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d64 is 12 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d5c is 4 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d5c is 4 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28689== Invalid read of size 4 ==28689== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==28689== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28689== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28689== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Address 0x4ce2d7c is 36 bytes inside a block of size 40 free'd ==28689== at 0x40285F2: free (vg_replace_malloc.c:530) ==28689== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28689== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28689== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28689== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28689== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28689== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28689== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28689== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28689== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28689== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28689== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28689== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== Block was alloc'd at ==28689== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28689== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28689== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28689== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28689== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28689== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28689== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28689== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28689== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28689== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28689== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28689== by 0x805E940: main (nginx.c:367) ==28689== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6b0c is 20 bytes inside a block of size 52 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28708== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6c30 is 48 bytes inside a block of size 52 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28708== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6ccc is 44 bytes inside a block of size 200 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28708== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==28708== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6ce4 is 68 bytes inside a block of size 200 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28708== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <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 |
==28708== Invalid read of size 4 ==28708== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6afc is 4 bytes inside a block of size 52 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28708== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6afc is 4 bytes inside a block of size 52 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28708== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <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 |
==28708== Invalid read of size 4 ==28708== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69f0 is 0 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <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 |
==28708== Invalid read of size 4 ==28708== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69f8 is 8 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69f0 is 0 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69f0 is 0 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6a08 is 24 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69fc is 12 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69f4 is 4 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb69f4 is 4 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28708== Invalid read of size 4 ==28708== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==28708== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28708== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28708== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Address 0x4eb6a14 is 36 bytes inside a block of size 40 free'd ==28708== at 0x40285F2: free (vg_replace_malloc.c:530) ==28708== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28708== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28708== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28708== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28708== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28708== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28708== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28708== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28708== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28708== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28708== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28708== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== Block was alloc'd at ==28708== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28708== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28708== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28708== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28708== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28708== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28708== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28708== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28708== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28708== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28708== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28708== by 0x805E940: main (nginx.c:367) ==28708== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a74c is 20 bytes inside a block of size 52 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a870 is 48 bytes inside a block of size 52 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28728== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a90c is 44 bytes inside a block of size 200 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28728== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==28728== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a924 is 68 bytes inside a block of size 200 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28728== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <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 |
==28728== Invalid read of size 4 ==28728== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a73c is 4 bytes inside a block of size 52 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a73c is 4 bytes inside a block of size 52 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <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 |
==28728== Invalid read of size 4 ==28728== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a630 is 0 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <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 |
==28728== Invalid read of size 4 ==28728== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a638 is 8 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a630 is 0 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a630 is 0 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a648 is 24 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a63c is 12 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a634 is 4 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a634 is 4 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28728== Invalid read of size 4 ==28728== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==28728== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28728== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28728== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Address 0x508a654 is 36 bytes inside a block of size 40 free'd ==28728== at 0x40285F2: free (vg_replace_malloc.c:530) ==28728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28728== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28728== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28728== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28728== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28728== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28728== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28728== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== Block was alloc'd at ==28728== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28728== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28728== by 0x805E940: main (nginx.c:367) ==28728== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x544498c is 20 bytes inside a block of size 52 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28771== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444ab0 is 48 bytes inside a block of size 52 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28771== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444b4c is 44 bytes inside a block of size 200 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28771== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==28771== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444b64 is 68 bytes inside a block of size 200 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==28771== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <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 |
==28771== Invalid read of size 4 ==28771== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x544497c is 4 bytes inside a block of size 52 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28771== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x544497c is 4 bytes inside a block of size 52 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218) ==28771== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <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 |
==28771== Invalid read of size 4 ==28771== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444870 is 0 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <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 |
==28771== Invalid read of size 4 ==28771== at 0x805F298: ngx_log_error_core (ngx_log.c:126) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444878 is 8 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F346: ngx_log_error_core (ngx_log.c:159) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444870 is 0 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F366: ngx_log_error_core (ngx_log.c:163) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444870 is 0 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F371: ngx_log_error_core (ngx_log.c:167) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444888 is 24 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F392: ngx_log_error_core (ngx_log.c:172) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x544487c is 12 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F39F: ngx_log_error_core (ngx_log.c:183) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444874 is 4 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444874 is 4 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==28771== Invalid read of size 4 ==28771== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195) ==28771== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==28771== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==28771== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Address 0x5444894 is 36 bytes inside a block of size 40 free'd ==28771== at 0x40285F2: free (vg_replace_malloc.c:530) ==28771== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79) ==28771== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323) ==28771== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==28771== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==28771== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==28771== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==28771== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==28771== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==28771== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==28771== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244) ==28771== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223) ==28771== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== Block was alloc'd at ==28771== at 0x4029679: malloc (vg_replace_malloc.c:299) ==28771== by 0x80808E6: ngx_alloc (ngx_alloc.c:22) ==28771== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140) ==28771== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123) ==28771== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175) ==28771== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900) ==28771== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242) ==28771== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==28771== by 0x8083348: ngx_spawn_process (ngx_process.c:198) ==28771== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358) ==28771== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243) ==28771== by 0x805E940: main (nginx.c:367) ==28771== { <insert_a_suppression_name_here> Memcheck:Addr4 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_worker_process_cycle fun:ngx_spawn_process fun:ngx_start_worker_processes fun:ngx_master_process_cycle fun:main } |
File | Name | Details |
---|---|---|
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 45: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,4 @@ -2 +3 bah bar +foo ' |
043-shdict.t | TEST 24: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -add: true nil false +add: false exists false -foo = 10502 +foo = 56 ' |
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: 58 nil -foo = nil +foo = 58 ' |
043-shdict.t | TEST 49: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) |
got: '2 ' expected: '0 ' |
043-shdict.t | TEST 44: flush_expires a dict without expired items - response_body - response is expected (repeated req 0, req 0) |
got: '58 ' expected: '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 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 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 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
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 1) | |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) |
got: 'stream lua found 8183 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 8187 pending timers ' expected: 'stream lua found 8191 pending timers ' |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0) | |
124-init-worker.t | TEST 18: syslog error log - udp_query ok |
'' doesn't match '(?^:Bad bad bad)' |
126-shdict-frag.t | TEST 2: merge 2 single-page free slabs (forcibly evicted, merge backward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ -successfully set foo. +successfully set foo with force. successfully set bar. found foo: 4000 successfully set baz with force. ' |
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 ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -2,4 +2,4 @@ failed to safe set baz: no memory found bar: 4000 delete bar -failed to safe set baz: no memory +successfully safe set baz ' |
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 ' |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
Go back to the index page.