(This page was automatically generated by the tools in the opsboy project on 18:34:25 08-Apr-2017 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
72d8cf57 | 2016-11-08 20:36:07 GMT | 390 | 31 | 94 | 7509 | 1311 sec |
File | Name | Details |
---|---|---|
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==17637== Invalid read of size 8 ==17637== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8860 is 32 bytes inside a block of size 96 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17637== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8a20 is 96 bytes inside a block of size 104 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17637== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8b10 is 80 bytes inside a block of size 368 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17637== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17637== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8b40 is 128 bytes inside a block of size 368 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17637== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17637== Invalid read of size 8 ==17637== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8848 is 8 bytes inside a block of size 96 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17637== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8848 is 8 bytes inside a block of size 96 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17637== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86c0 is 0 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86d0 is 16 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86c0 is 0 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86c0 is 0 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86f0 is 48 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86d8 is 24 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86c8 is 8 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f86c8 is 8 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17637== Invalid read of size 8 ==17637== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Address 0x83f8708 is 72 bytes inside a block of size 80 free'd ==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== Block was alloc'd at ==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==17637== by 0x41B71D: main (nginx.c:367) ==17637== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d320 is 32 bytes inside a block of size 96 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d440 is 96 bytes inside a block of size 104 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17686== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d4e0 is 80 bytes inside a block of size 368 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17686== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17686== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7e998 is 200 bytes inside a block of size 672 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x41D445: ngx_list_init (ngx_list.h:39) ==17686== by 0x41D445: ngx_list_create (ngx_list.c:22) ==17686== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==17686== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==17686== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==17686== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==17686== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==17686== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17686== Invalid read of size 8 ==17686== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d308 is 8 bytes inside a block of size 96 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d308 is 8 bytes inside a block of size 96 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d220 is 0 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d230 is 16 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d220 is 0 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d220 is 0 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d250 is 48 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d238 is 24 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d228 is 8 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d228 is 8 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17686== Invalid read of size 8 ==17686== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Address 0x8e7d268 is 72 bytes inside a block of size 80 free'd ==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== Block was alloc'd at ==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17686== by 0x41B71D: main (nginx.c:367) ==17686== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f79d0 is 32 bytes inside a block of size 96 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17706== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x8fbbf00 is 96 bytes inside a block of size 104 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17706== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x8fbbfa0 is 80 bytes inside a block of size 368 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17706== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17706== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x8fbbfd0 is 128 bytes inside a block of size 368 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17706== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17706== Invalid read of size 8 ==17706== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f79b8 is 8 bytes inside a block of size 96 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17706== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f79b8 is 8 bytes inside a block of size 96 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17706== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78d0 is 0 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78e0 is 16 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78d0 is 0 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78d0 is 0 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f7900 is 48 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78e8 is 24 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78d8 is 8 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f78d8 is 8 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17706== Invalid read of size 8 ==17706== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Address 0x91f7918 is 72 bytes inside a block of size 80 free'd ==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== Block was alloc'd at ==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17706== by 0x41B71D: main (nginx.c:367) ==17706== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436e90 is 32 bytes inside a block of size 96 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17746== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8437010 is 96 bytes inside a block of size 104 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17746== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8437100 is 80 bytes inside a block of size 368 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17746== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17746== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8437130 is 128 bytes inside a block of size 368 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17746== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17746== Invalid read of size 8 ==17746== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436e78 is 8 bytes inside a block of size 96 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17746== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436e78 is 8 bytes inside a block of size 96 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17746== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436cf0 is 0 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436d00 is 16 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436cf0 is 0 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436cf0 is 0 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436d20 is 48 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436d08 is 24 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436cf8 is 8 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436cf8 is 8 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17746== Invalid read of size 8 ==17746== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Address 0x8436d38 is 72 bytes inside a block of size 80 free'd ==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== Block was alloc'd at ==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17746== by 0x41B71D: main (nginx.c:367) ==17746== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e270 is 32 bytes inside a block of size 96 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e3f0 is 96 bytes inside a block of size 104 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17786== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e4e0 is 80 bytes inside a block of size 368 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17786== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17786== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e510 is 128 bytes inside a block of size 368 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17786== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17786== Invalid read of size 8 ==17786== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e258 is 8 bytes inside a block of size 96 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e258 is 8 bytes inside a block of size 96 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0d0 is 0 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0e0 is 16 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0d0 is 0 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0d0 is 0 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e100 is 48 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0e8 is 24 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0d8 is 8 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e0d8 is 8 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17786== Invalid read of size 8 ==17786== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Address 0x842e118 is 72 bytes inside a block of size 80 free'd ==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== Block was alloc'd at ==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17786== by 0x41B71D: main (nginx.c:367) ==17786== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8fa5da0 is 32 bytes inside a block of size 96 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17826== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8fa5f20 is 96 bytes inside a block of size 104 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17826== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8fa6010 is 80 bytes inside a block of size 368 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17826== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17826== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8fa6040 is 128 bytes inside a block of size 368 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17826== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17826== Invalid read of size 8 ==17826== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8fa5d88 is 8 bytes inside a block of size 96 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17826== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8fa5d88 is 8 bytes inside a block of size 96 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17826== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefa0 is 0 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefb0 is 16 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefa0 is 0 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefa0 is 0 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefd0 is 48 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefb8 is 24 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefa8 is 8 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefa8 is 8 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17826== Invalid read of size 8 ==17826== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Address 0x8afefe8 is 72 bytes inside a block of size 80 free'd ==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== Block was alloc'd at ==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17826== by 0x41B71D: main (nginx.c:367) ==17826== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcdb30 is 32 bytes inside a block of size 96 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17846== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcdcb0 is 96 bytes inside a block of size 104 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17846== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcdda0 is 80 bytes inside a block of size 368 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17846== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17846== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcddd0 is 128 bytes inside a block of size 368 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17846== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17846== Invalid read of size 8 ==17846== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcdb18 is 8 bytes inside a block of size 96 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17846== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcdb18 is 8 bytes inside a block of size 96 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17846== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9e0 is 0 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9f0 is 16 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9e0 is 0 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9e0 is 0 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcda10 is 48 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9f8 is 24 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9e8 is 8 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcd9e8 is 8 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17846== Invalid read of size 8 ==17846== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Address 0x8bcda28 is 72 bytes inside a block of size 80 free'd ==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== Block was alloc'd at ==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17846== by 0x41B71D: main (nginx.c:367) ==17846== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528dc0 is 32 bytes inside a block of size 96 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17866== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528f40 is 96 bytes inside a block of size 104 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17866== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9529030 is 80 bytes inside a block of size 368 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17866== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17866== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9529060 is 128 bytes inside a block of size 368 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17866== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17866== Invalid read of size 8 ==17866== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528da8 is 8 bytes inside a block of size 96 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17866== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528da8 is 8 bytes inside a block of size 96 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17866== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c20 is 0 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c30 is 16 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c20 is 0 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c20 is 0 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c50 is 48 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c38 is 24 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c28 is 8 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c28 is 8 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17866== Invalid read of size 8 ==17866== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Address 0x9528c68 is 72 bytes inside a block of size 80 free'd ==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== Block was alloc'd at ==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17866== by 0x41B71D: main (nginx.c:367) ==17866== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x8793890 is 32 bytes inside a block of size 96 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17906== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x97e5d20 is 96 bytes inside a block of size 104 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17906== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x8452810 is 80 bytes inside a block of size 368 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17906== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17906== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x8435cd0 is 32 bytes inside a block of size 672 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x41D445: ngx_list_init (ngx_list.h:39) ==17906== by 0x41D445: ngx_list_create (ngx_list.c:22) ==17906== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==17906== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==17906== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==17906== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==17906== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==17906== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17906== Invalid read of size 8 ==17906== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x8793878 is 8 bytes inside a block of size 96 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17906== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x8793878 is 8 bytes inside a block of size 96 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17906== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1e0 is 0 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1f0 is 16 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1e0 is 0 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1e0 is 0 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe210 is 48 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1f8 is 24 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1e8 is 8 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe1e8 is 8 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17906== Invalid read of size 8 ==17906== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Address 0x80fe228 is 72 bytes inside a block of size 80 free'd ==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== Block was alloc'd at ==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17906== by 0x41B71D: main (nginx.c:367) ==17906== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x80979e0 is 32 bytes inside a block of size 96 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17926== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x8097b60 is 96 bytes inside a block of size 104 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17926== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x845afc0 is 80 bytes inside a block of size 368 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17926== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17926== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x80ce560 is 32 bytes inside a block of size 672 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x41D445: ngx_list_init (ngx_list.h:39) ==17926== by 0x41D445: ngx_list_create (ngx_list.c:22) ==17926== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==17926== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==17926== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==17926== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==17926== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==17926== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17926== Invalid read of size 8 ==17926== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x80979c8 is 8 bytes inside a block of size 96 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17926== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x80979c8 is 8 bytes inside a block of size 96 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17926== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0680 is 0 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0690 is 16 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0680 is 0 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0680 is 0 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a06b0 is 48 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0698 is 24 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0688 is 8 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a0688 is 8 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17926== Invalid read of size 8 ==17926== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Address 0x87a06c8 is 72 bytes inside a block of size 80 free'd ==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== Block was alloc'd at ==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17926== by 0x41B71D: main (nginx.c:367) ==17926== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d410 is 32 bytes inside a block of size 96 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17966== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x87c3560 is 96 bytes inside a block of size 104 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17966== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876bf50 is 80 bytes inside a block of size 368 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17966== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==17966== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876bf80 is 128 bytes inside a block of size 368 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==17966== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==17966== Invalid read of size 8 ==17966== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d3f8 is 8 bytes inside a block of size 96 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17966== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d3f8 is 8 bytes inside a block of size 96 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==17966== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2c0 is 0 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2d0 is 16 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2c0 is 0 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2c0 is 0 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2f0 is 48 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2d8 is 24 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2c8 is 8 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d2c8 is 8 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==17966== Invalid read of size 8 ==17966== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Address 0x876d308 is 72 bytes inside a block of size 80 free'd ==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== Block was alloc'd at ==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==17966== by 0x41B71D: main (nginx.c:367) ==17966== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fd3d60 is 32 bytes inside a block of size 96 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18006== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fd3ee0 is 96 bytes inside a block of size 104 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18006== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fd4a00 is 80 bytes inside a block of size 368 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18006== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18006== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fd4a30 is 128 bytes inside a block of size 368 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18006== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18006== Invalid read of size 8 ==18006== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fd3d48 is 8 bytes inside a block of size 96 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18006== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fd3d48 is 8 bytes inside a block of size 96 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18006== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e00 is 0 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e10 is 16 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e00 is 0 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e00 is 0 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e30 is 48 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e18 is 24 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e08 is 8 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e08 is 8 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18006== Invalid read of size 8 ==18006== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Address 0x8fc3e48 is 72 bytes inside a block of size 80 free'd ==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== Block was alloc'd at ==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18006== by 0x41B71D: main (nginx.c:367) ==18006== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4c00 is 32 bytes inside a block of size 96 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18243== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4dc0 is 96 bytes inside a block of size 104 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18243== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4eb0 is 80 bytes inside a block of size 368 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18243== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18243== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4ee0 is 128 bytes inside a block of size 368 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18243== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18243== Invalid read of size 8 ==18243== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4be8 is 8 bytes inside a block of size 96 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18243== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4be8 is 8 bytes inside a block of size 96 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18243== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a60 is 0 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a70 is 16 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a60 is 0 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a60 is 0 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a90 is 48 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a78 is 24 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a68 is 8 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4a68 is 8 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18243== Invalid read of size 8 ==18243== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Address 0x83e4aa8 is 72 bytes inside a block of size 80 free'd ==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== Block was alloc'd at ==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==18243== by 0x41B71D: main (nginx.c:367) ==18243== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6500 is 32 bytes inside a block of size 96 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18312== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x91eaf30 is 96 bytes inside a block of size 104 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18312== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x91eafd0 is 80 bytes inside a block of size 368 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18312== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18312== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x91eb000 is 128 bytes inside a block of size 368 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18312== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18312== Invalid read of size 8 ==18312== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb64e8 is 8 bytes inside a block of size 96 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18312== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb64e8 is 8 bytes inside a block of size 96 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18312== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6400 is 0 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6410 is 16 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6400 is 0 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6400 is 0 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6430 is 48 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6418 is 24 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6408 is 8 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6408 is 8 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18312== Invalid read of size 8 ==18312== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Address 0x8fb6448 is 72 bytes inside a block of size 80 free'd ==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== Block was alloc'd at ==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18312== by 0x41B71D: main (nginx.c:367) ==18312== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x950a110 is 32 bytes inside a block of size 96 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18332== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x950a290 is 96 bytes inside a block of size 104 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18332== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x950a380 is 80 bytes inside a block of size 368 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18332== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18332== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x950a3b0 is 128 bytes inside a block of size 368 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18332== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18332== Invalid read of size 8 ==18332== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x950a0f8 is 8 bytes inside a block of size 96 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18332== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x950a0f8 is 8 bytes inside a block of size 96 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18332== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f70 is 0 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f80 is 16 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f70 is 0 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f70 is 0 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509fa0 is 48 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f88 is 24 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f78 is 8 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509f78 is 8 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18332== Invalid read of size 8 ==18332== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18332== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Address 0x9509fb8 is 72 bytes inside a block of size 80 free'd ==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== Block was alloc'd at ==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18332== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18332== by 0x41B71D: main (nginx.c:367) ==18332== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6820 is 32 bytes inside a block of size 96 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18412== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f69a0 is 96 bytes inside a block of size 104 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18412== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6a90 is 80 bytes inside a block of size 368 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18412== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18412== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6ac0 is 128 bytes inside a block of size 368 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18412== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18412== Invalid read of size 8 ==18412== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6808 is 8 bytes inside a block of size 96 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18412== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6808 is 8 bytes inside a block of size 96 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18412== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6680 is 0 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6690 is 16 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6680 is 0 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6680 is 0 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f66b0 is 48 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6698 is 24 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6688 is 8 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f6688 is 8 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18412== Invalid read of size 8 ==18412== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18412== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18412== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18412== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Address 0x87f66c8 is 72 bytes inside a block of size 80 free'd ==18412== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18412== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18412== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18412== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18412== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18412== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18412== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18412== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18412== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18412== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18412== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18412== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18412== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== Block was alloc'd at ==18412== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18412== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18412== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18412== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18412== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18412== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18412== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18412== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18412== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18412== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18412== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18412== by 0x41B71D: main (nginx.c:367) ==18412== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9d10 is 32 bytes inside a block of size 96 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18452== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9e90 is 96 bytes inside a block of size 104 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18452== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8e9d950 is 80 bytes inside a block of size 368 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18452== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18452== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8e9d980 is 128 bytes inside a block of size 368 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18452== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18452== Invalid read of size 8 ==18452== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9cf8 is 8 bytes inside a block of size 96 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18452== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9cf8 is 8 bytes inside a block of size 96 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18452== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bc0 is 0 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bd0 is 16 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bc0 is 0 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bc0 is 0 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bf0 is 48 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bd8 is 24 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bc8 is 8 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9bc8 is 8 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18452== Invalid read of size 8 ==18452== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18452== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18452== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18452== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Address 0x8be9c08 is 72 bytes inside a block of size 80 free'd ==18452== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18452== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18452== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18452== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18452== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18452== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18452== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18452== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18452== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18452== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18452== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18452== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18452== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== Block was alloc'd at ==18452== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18452== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18452== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18452== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18452== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18452== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18452== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18452== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18452== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18452== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18452== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18452== by 0x41B71D: main (nginx.c:367) ==18452== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x80c83d0 is 32 bytes inside a block of size 96 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18512== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x80c8550 is 96 bytes inside a block of size 104 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18512== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x83ea190 is 80 bytes inside a block of size 368 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18512== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18512== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x83ea1c0 is 128 bytes inside a block of size 368 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18512== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 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) |
==18512== Invalid read of size 8 ==18512== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x80c83b8 is 8 bytes inside a block of size 96 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18512== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x80c83b8 is 8 bytes inside a block of size 96 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18512== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efb0 is 0 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efc0 is 16 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efb0 is 0 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efb0 is 0 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efe0 is 48 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efc8 is 24 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efb8 is 8 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809efb8 is 8 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18512== Invalid read of size 8 ==18512== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18512== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18512== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18512== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Address 0x809eff8 is 72 bytes inside a block of size 80 free'd ==18512== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18512== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18512== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18512== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18512== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18512== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18512== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18512== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18512== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18512== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18512== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18512== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18512== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== Block was alloc'd at ==18512== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18512== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18512== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18512== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18512== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18512== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18512== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18512== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18512== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18512== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18512== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18512== by 0x41B71D: main (nginx.c:367) ==18512== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x8796cf0 is 32 bytes inside a block of size 96 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18552== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x87979b0 is 96 bytes inside a block of size 104 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18552== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x879a260 is 80 bytes inside a block of size 368 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18552== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18552== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x879a290 is 128 bytes inside a block of size 368 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18552== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 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) |
==18552== Invalid read of size 8 ==18552== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x8796cd8 is 8 bytes inside a block of size 96 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18552== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x8796cd8 is 8 bytes inside a block of size 96 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18552== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e620 is 0 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e630 is 16 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e620 is 0 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e620 is 0 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e650 is 48 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e638 is 24 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e628 is 8 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e628 is 8 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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) |
==18552== Invalid read of size 8 ==18552== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18552== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18552== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18552== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Address 0x878e668 is 72 bytes inside a block of size 80 free'd ==18552== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18552== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18552== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18552== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18552== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18552== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18552== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18552== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18552== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18552== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18552== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18552== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18552== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== Block was alloc'd at ==18552== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18552== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18552== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18552== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18552== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18552== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18552== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18552== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18552== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18552== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18552== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18552== by 0x41B71D: main (nginx.c:367) ==18552== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x91fe6b0 is 32 bytes inside a block of size 96 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18612== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x951f0f0 is 96 bytes inside a block of size 104 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18612== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8bc41f0 is 80 bytes inside a block of size 368 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18612== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==18612== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8bc4220 is 128 bytes inside a block of size 368 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==18612== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==18612== Invalid read of size 8 ==18612== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x91fe698 is 8 bytes inside a block of size 96 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18612== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x91fe698 is 8 bytes inside a block of size 96 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==18612== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7140 is 0 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7150 is 16 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7140 is 0 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7140 is 0 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7170 is 48 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7158 is 24 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7148 is 8 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7148 is 8 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_events_and_timers fun:ngx_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 |
==18612== Invalid read of size 8 ==18612== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==18612== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==18612== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==18612== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Address 0x8fd7188 is 72 bytes inside a block of size 80 free'd ==18612== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==18612== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==18612== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==18612== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==18612== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==18612== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==18612== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==18612== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==18612== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==18612== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==18612== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==18612== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==18612== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== Block was alloc'd at ==18612== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==18612== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==18612== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==18612== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==18612== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==18612== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==18612== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==18612== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==18612== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==18612== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==18612== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==18612== by 0x41B71D: main (nginx.c:367) ==18612== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==19223== Invalid read of size 8 ==19223== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb500 is 32 bytes inside a block of size 96 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==19223== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb630 is 96 bytes inside a block of size 104 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F751E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085) ==19223== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb720 is 80 bytes inside a block of size 368 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==19223== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==19223== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb750 is 128 bytes inside a block of size 368 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==19223== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb4e8 is 8 bytes inside a block of size 96 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==19223== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb4e8 is 8 bytes inside a block of size 96 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==19223== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb400 is 0 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb410 is 16 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb400 is 0 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb400 is 0 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb430 is 48 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb418 is 24 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb408 is 8 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb408 is 8 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19223== Invalid read of size 8 ==19223== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==19223== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Address 0x83fb448 is 72 bytes inside a block of size 80 free'd ==19223== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19223== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19223== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19223== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19223== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19223== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19223== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19223== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== Block was alloc'd at ==19223== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19223== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19223== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19223== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19223== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19223== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19223== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19223== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19223== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19223== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19223== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19223== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19223== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==19223== by 0x41B71D: main (nginx.c:367) ==19223== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fd80 is 32 bytes inside a block of size 96 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==19916== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9feb0 is 96 bytes inside a block of size 104 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F751E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085) ==19916== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9ffa0 is 80 bytes inside a block of size 368 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==19916== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==19916== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9ffd0 is 128 bytes inside a block of size 368 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==19916== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fd68 is 8 bytes inside a block of size 96 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==19916== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fd68 is 8 bytes inside a block of size 96 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080) ==19916== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc80 is 0 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc90 is 16 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc80 is 0 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc80 is 0 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fcb0 is 48 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc98 is 24 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc88 is 8 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fc88 is 8 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==19916== Invalid read of size 8 ==19916== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==19916== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Address 0x8e9fcc8 is 72 bytes inside a block of size 80 free'd ==19916== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==19916== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==19916== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029) ==19916== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941) ==19916== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929) ==19916== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==19916== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==19916== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== Block was alloc'd at ==19916== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==19916== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==19916== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==19916== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==19916== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==19916== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040) ==19916== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380) ==19916== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97) ==19916== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256) ==19916== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==19916== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==19916== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==19916== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==19916== by 0x41B71D: main (nginx.c:367) ==19916== { <insert_a_suppression_name_here> Memcheck:Addr8 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 3: kill pending resolver |
==21870== Invalid read of size 8 ==21870== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f87e0 is 32 bytes inside a block of size 96 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21870== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f89a0 is 96 bytes inside a block of size 104 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21870== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8a90 is 80 bytes inside a block of size 368 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21870== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21870== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8ac0 is 128 bytes inside a block of size 368 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21870== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==21870== Invalid read of size 8 ==21870== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f87c8 is 8 bytes inside a block of size 96 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21870== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f87c8 is 8 bytes inside a block of size 96 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21870== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8640 is 0 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8650 is 16 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8640 is 0 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8640 is 0 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8670 is 48 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8658 is 24 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8648 is 8 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8648 is 8 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21870== Invalid read of size 8 ==21870== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==21870== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21870== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21870== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Address 0x83f8688 is 72 bytes inside a block of size 80 free'd ==21870== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21870== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21870== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21870== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21870== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21870== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21870== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21870== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21870== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21870== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21870== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21870== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21870== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== Block was alloc'd at ==21870== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21870== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21870== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21870== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21870== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21870== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21870== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21870== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21870== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21870== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21870== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130) ==21870== by 0x41B71D: main (nginx.c:367) ==21870== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae7d0 is 32 bytes inside a block of size 96 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21879== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae990 is 96 bytes inside a block of size 104 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21879== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8daea80 is 80 bytes inside a block of size 368 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21879== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21879== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8daeab0 is 128 bytes inside a block of size 368 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21879== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==21879== Invalid read of size 8 ==21879== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae7b8 is 8 bytes inside a block of size 96 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21879== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae7b8 is 8 bytes inside a block of size 96 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21879== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae630 is 0 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae640 is 16 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae630 is 0 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae630 is 0 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae660 is 48 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae648 is 24 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae638 is 8 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae638 is 8 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21879== Invalid read of size 8 ==21879== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==21879== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21879== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21879== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Address 0x8dae678 is 72 bytes inside a block of size 80 free'd ==21879== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21879== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21879== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21879== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21879== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21879== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21879== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21879== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21879== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21879== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21879== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21879== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21879== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== Block was alloc'd at ==21879== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21879== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21879== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21879== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21879== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21879== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21879== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21879== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21879== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21879== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21879== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21879== by 0x41B71D: main (nginx.c:367) ==21879== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116810 is 32 bytes inside a block of size 96 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21899== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x91169d0 is 96 bytes inside a block of size 104 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21899== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116ac0 is 80 bytes inside a block of size 368 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21899== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21899== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116af0 is 128 bytes inside a block of size 368 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21899== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==21899== Invalid read of size 8 ==21899== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x91167f8 is 8 bytes inside a block of size 96 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21899== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x91167f8 is 8 bytes inside a block of size 96 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21899== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116670 is 0 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116680 is 16 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116670 is 0 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116670 is 0 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x91166a0 is 48 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116688 is 24 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116678 is 8 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x9116678 is 8 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21899== Invalid read of size 8 ==21899== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==21899== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21899== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21899== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Address 0x91166b8 is 72 bytes inside a block of size 80 free'd ==21899== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21899== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21899== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21899== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21899== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21899== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21899== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21899== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21899== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21899== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21899== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21899== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21899== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== Block was alloc'd at ==21899== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21899== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21899== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21899== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21899== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21899== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21899== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21899== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21899== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21899== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21899== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21899== by 0x41B71D: main (nginx.c:367) ==21899== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982bae0 is 32 bytes inside a block of size 96 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21939== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982bc00 is 96 bytes inside a block of size 104 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21939== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982bca0 is 80 bytes inside a block of size 368 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21939== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==21939== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982bcd0 is 128 bytes inside a block of size 368 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==21939== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 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 |
==21939== Invalid read of size 8 ==21939== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982bac8 is 8 bytes inside a block of size 96 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21939== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982bac8 is 8 bytes inside a block of size 96 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==21939== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9e0 is 0 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9f0 is 16 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9e0 is 0 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9e0 is 0 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982ba10 is 48 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9f8 is 24 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9e8 is 8 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982b9e8 is 8 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 |
==21939== Invalid read of size 8 ==21939== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==21939== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==21939== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==21939== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Address 0x982ba28 is 72 bytes inside a block of size 80 free'd ==21939== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==21939== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==21939== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==21939== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==21939== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==21939== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==21939== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==21939== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==21939== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==21939== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==21939== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==21939== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==21939== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== Block was alloc'd at ==21939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==21939== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==21939== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==21939== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==21939== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==21939== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==21939== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==21939== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753) ==21939== by 0x44048D: ngx_spawn_process (ngx_process.c:198) ==21939== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358) ==21939== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243) ==21939== by 0x41B71D: main (nginx.c:367) ==21939== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_epoll_process_events fun:ngx_process_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 51: list all keys in a shdict with all keys expired - response_body - response is expected (repeated req 0, req 0) |
got: '1024 ' expected: '0 ' |
043-shdict.t | TEST 43: flush_expires an empty dict - response_body - response is expected (repeated req 0, req 0) |
got: '3 ' expected: '0 ' |
043-shdict.t | TEST 49: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) |
got: '1024 ' expected: '0 ' |
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 = hello, world ' |
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 ' |
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 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 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 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) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) |
got: 'stream lua found 8184 pending timers ' expected: 'stream lua found 8191 pending timers ' |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) |
got: 'stream lua found 8186 pending timers ' expected: 'stream lua found 8191 pending timers ' |
124-init-worker.t | TEST 18: syslog error log - udp_query ok |
'' doesn't match '(?^:Bad bad bad)' |
126-shdict-frag.t | TEST 3: merge 3 single-page free slabs (actively deleted, merge backward AND forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,5 @@ successfully set foo. -successfully set bar. +successfully set bar with force. successfully set baz. found foo: 4000 found bar: 4001 ' |
126-shdict-frag.t | TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - 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. successfully set baz with force. foo not found ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: 18: self signed certificate ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: 18: self signed certificate ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: 12: CRL has expired -failed to send stream request: closed ' |
129-ssl-socket.t | TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: 12: CRL has expired -failed to send stream request: closed ' |
129-ssl-socket.t | TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
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] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
Go back to the index page.