(This page was automatically generated by the tools in the opsboy project on 17:39:23 26-Mar-2017 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
72d8cf57 | 2016-11-08 20:36:06 GMT | 390 | 14 | 94 | 7509 | 2545 sec |
File | Name | Details |
---|---|---|
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cce0 is 32 bytes inside a block of size 96 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7843== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cea0 is 96 bytes inside a block of size 104 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7843== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cf90 is 80 bytes inside a block of size 368 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7843== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7843== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810f618 is 200 bytes inside a block of size 672 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x41D445: ngx_list_init (ngx_list.h:39) ==7843== by 0x41D445: ngx_list_create (ngx_list.c:22) ==7843== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==7843== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==7843== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==7843== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==7843== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==7843== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810ccc8 is 8 bytes inside a block of size 96 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7843== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810ccc8 is 8 bytes inside a block of size 96 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7843== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb40 is 0 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb50 is 16 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb40 is 0 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb40 is 0 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb70 is 48 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb58 is 24 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb48 is 8 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb48 is 8 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 13: manual time slicing between two user threads |
==7843== Invalid read of size 8 ==7843== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Address 0x810cb88 is 72 bytes inside a block of size 80 free'd ==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== Block was alloc'd at ==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7843== by 0x41B70E: main (nginx.c:364) ==7843== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c2a0 is 32 bytes inside a block of size 96 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7854== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c460 is 96 bytes inside a block of size 104 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7854== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c550 is 80 bytes inside a block of size 368 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7854== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7854== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c580 is 128 bytes inside a block of size 368 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7854== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c288 is 8 bytes inside a block of size 96 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7854== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c288 is 8 bytes inside a block of size 96 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7854== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c100 is 0 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c110 is 16 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c100 is 0 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c100 is 0 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c130 is 48 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c118 is 24 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c108 is 8 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c108 is 8 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==7854== Invalid read of size 8 ==7854== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Address 0x810c148 is 72 bytes inside a block of size 80 free'd ==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== Block was alloc'd at ==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7854== by 0x41B70E: main (nginx.c:364) ==7854== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c330 is 32 bytes inside a block of size 96 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7865== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c4f0 is 96 bytes inside a block of size 104 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7865== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c5e0 is 80 bytes inside a block of size 368 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7865== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7865== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c610 is 128 bytes inside a block of size 368 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7865== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c318 is 8 bytes inside a block of size 96 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7865== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c318 is 8 bytes inside a block of size 96 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7865== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c190 is 0 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c1a0 is 16 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c190 is 0 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c190 is 0 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c1c0 is 48 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c1a8 is 24 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c198 is 8 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c198 is 8 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==7865== Invalid read of size 8 ==7865== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Address 0x810c1d8 is 72 bytes inside a block of size 80 free'd ==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== Block was alloc'd at ==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7865== by 0x41B70E: main (nginx.c:364) ==7865== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c920 is 32 bytes inside a block of size 96 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7876== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810cae0 is 96 bytes inside a block of size 104 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7876== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810cbd0 is 80 bytes inside a block of size 368 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7876== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7876== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810cc00 is 128 bytes inside a block of size 368 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7876== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c908 is 8 bytes inside a block of size 96 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7876== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c908 is 8 bytes inside a block of size 96 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7876== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c780 is 0 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c790 is 16 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c780 is 0 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c780 is 0 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c7b0 is 48 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c798 is 24 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c788 is 8 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c788 is 8 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 11: creating user threads in a user coroutine |
==7876== Invalid read of size 8 ==7876== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Address 0x810c7c8 is 72 bytes inside a block of size 80 free'd ==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== Block was alloc'd at ==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7876== by 0x41B70E: main (nginx.c:364) ==7876== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c770 is 32 bytes inside a block of size 96 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7887== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c930 is 96 bytes inside a block of size 104 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7887== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810ca20 is 80 bytes inside a block of size 368 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7887== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7887== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810ca50 is 128 bytes inside a block of size 368 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7887== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c758 is 8 bytes inside a block of size 96 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7887== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c758 is 8 bytes inside a block of size 96 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7887== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5e0 is 16 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c600 is 48 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5e8 is 24 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5d8 is 8 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c5d8 is 8 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==7887== Invalid read of size 8 ==7887== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Address 0x810c618 is 72 bytes inside a block of size 80 free'd ==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== Block was alloc'd at ==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7887== by 0x41B70E: main (nginx.c:364) ==7887== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c990 is 32 bytes inside a block of size 96 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7909== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810cb50 is 96 bytes inside a block of size 104 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7909== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810cc40 is 80 bytes inside a block of size 368 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7909== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7909== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810cc70 is 128 bytes inside a block of size 368 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7909== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c978 is 8 bytes inside a block of size 96 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7909== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c978 is 8 bytes inside a block of size 96 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7909== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c7f0 is 0 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c800 is 16 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c7f0 is 0 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c7f0 is 0 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c820 is 48 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c808 is 24 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c7f8 is 8 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c7f8 is 8 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O |
==7909== Invalid read of size 8 ==7909== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Address 0x810c838 is 72 bytes inside a block of size 80 free'd ==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== Block was alloc'd at ==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7909== by 0x41B70E: main (nginx.c:364) ==7909== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cf10 is 32 bytes inside a block of size 96 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7920== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810d0d0 is 96 bytes inside a block of size 104 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7920== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810d1c0 is 80 bytes inside a block of size 368 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7920== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7920== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810d1f0 is 128 bytes inside a block of size 368 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7920== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cef8 is 8 bytes inside a block of size 96 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7920== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cef8 is 8 bytes inside a block of size 96 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7920== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd70 is 0 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd80 is 16 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd70 is 0 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd70 is 0 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cda0 is 48 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd88 is 24 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd78 is 8 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cd78 is 8 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 12: manual time slicing between a user thread and the entry thread |
==7920== Invalid read of size 8 ==7920== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Address 0x810cdb8 is 72 bytes inside a block of size 80 free'd ==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== Block was alloc'd at ==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7920== by 0x41B70E: main (nginx.c:364) ==7920== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cd80 is 32 bytes inside a block of size 96 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7964== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cf40 is 96 bytes inside a block of size 104 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7964== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810d030 is 80 bytes inside a block of size 368 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7964== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7964== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810d060 is 128 bytes inside a block of size 368 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7964== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cd68 is 8 bytes inside a block of size 96 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7964== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cd68 is 8 bytes inside a block of size 96 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7964== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbe0 is 0 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbf0 is 16 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbe0 is 0 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbe0 is 0 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cc10 is 48 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbf8 is 24 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbe8 is 8 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cbe8 is 8 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==7964== Invalid read of size 8 ==7964== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Address 0x810cc28 is 72 bytes inside a block of size 80 free'd ==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== Block was alloc'd at ==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7964== by 0x41B70E: main (nginx.c:364) ==7964== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c570 is 32 bytes inside a block of size 96 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7979== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c730 is 96 bytes inside a block of size 104 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7979== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c820 is 80 bytes inside a block of size 368 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==7979== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==7979== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810e760 is 32 bytes inside a block of size 672 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x41D445: ngx_list_init (ngx_list.h:39) ==7979== by 0x41D445: ngx_list_create (ngx_list.c:22) ==7979== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==7979== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==7979== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==7979== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==7979== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==7979== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c558 is 8 bytes inside a block of size 96 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7979== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c558 is 8 bytes inside a block of size 96 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==7979== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3d0 is 0 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3e0 is 16 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3d0 is 0 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3d0 is 0 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c400 is 48 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3e8 is 24 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3d8 is 8 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c3d8 is 8 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 14: entry thread and a user thread flushing at the same time |
==7979== Invalid read of size 8 ==7979== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Address 0x810c418 is 72 bytes inside a block of size 80 free'd ==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== Block was alloc'd at ==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==7979== by 0x41B70E: main (nginx.c:364) ==7979== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c8a0 is 32 bytes inside a block of size 96 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8001== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810ca60 is 96 bytes inside a block of size 104 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8001== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810cb50 is 80 bytes inside a block of size 368 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8001== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8001== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810ec70 is 32 bytes inside a block of size 672 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x41D445: ngx_list_init (ngx_list.h:39) ==8001== by 0x41D445: ngx_list_create (ngx_list.c:22) ==8001== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==8001== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==8001== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==8001== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==8001== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==8001== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c888 is 8 bytes inside a block of size 96 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8001== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c888 is 8 bytes inside a block of size 96 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8001== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c700 is 0 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c710 is 16 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c700 is 0 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c700 is 0 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c730 is 48 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c718 is 24 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c708 is 8 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c708 is 8 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==8001== Invalid read of size 8 ==8001== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Address 0x810c748 is 72 bytes inside a block of size 80 free'd ==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== Block was alloc'd at ==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8001== by 0x41B70E: main (nginx.c:364) ==8001== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c440 is 32 bytes inside a block of size 96 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8023== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c600 is 96 bytes inside a block of size 104 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8023== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c6f0 is 80 bytes inside a block of size 368 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8023== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8023== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c720 is 128 bytes inside a block of size 368 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8023== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c428 is 8 bytes inside a block of size 96 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8023== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c428 is 8 bytes inside a block of size 96 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8023== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2a0 is 0 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2b0 is 16 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2a0 is 0 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2a0 is 0 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2d0 is 48 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2b8 is 24 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2a8 is 8 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2a8 is 8 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 1: simple user thread without I/O |
==8023== Invalid read of size 8 ==8023== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Address 0x810c2e8 is 72 bytes inside a block of size 80 free'd ==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== Block was alloc'd at ==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8023== by 0x41B70E: main (nginx.c:364) ==8023== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c4f0 is 32 bytes inside a block of size 96 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8045== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c6b0 is 96 bytes inside a block of size 104 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8045== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c7a0 is 80 bytes inside a block of size 368 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8045== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8045== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c7d0 is 128 bytes inside a block of size 368 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8045== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c4d8 is 8 bytes inside a block of size 96 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8045== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c4d8 is 8 bytes inside a block of size 96 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8045== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c350 is 0 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c360 is 16 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c350 is 0 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c350 is 0 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c380 is 48 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c368 is 24 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c358 is 8 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c358 is 8 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 15: two user threads flushing at the same time |
==8045== Invalid read of size 8 ==8045== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Address 0x810c398 is 72 bytes inside a block of size 80 free'd ==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== Block was alloc'd at ==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8045== by 0x41B70E: main (nginx.c:364) ==8045== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9960 is 32 bytes inside a block of size 96 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8218== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9b20 is 96 bytes inside a block of size 104 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8218== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9c10 is 80 bytes inside a block of size 368 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8218== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8218== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9c40 is 128 bytes inside a block of size 368 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8218== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8218== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8218== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97d0 is 16 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97f0 is 48 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97d8 is 24 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97c8 is 8 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f97c8 is 8 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O |
==8218== Invalid read of size 8 ==8218== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Address 0x80f9808 is 72 bytes inside a block of size 80 free'd ==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== Block was alloc'd at ==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8218== by 0x41B70E: main (nginx.c:364) ==8218== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8f00 is 32 bytes inside a block of size 96 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8251== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f90c0 is 96 bytes inside a block of size 104 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8251== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f91b0 is 80 bytes inside a block of size 368 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8251== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8251== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f91e0 is 128 bytes inside a block of size 368 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8251== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8ee8 is 8 bytes inside a block of size 96 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8251== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8ee8 is 8 bytes inside a block of size 96 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8251== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d60 is 0 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d70 is 16 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d60 is 0 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d60 is 0 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d90 is 48 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d78 is 24 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d68 is 8 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8d68 is 8 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) |
==8251== Invalid read of size 8 ==8251== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Address 0x80f8da8 is 72 bytes inside a block of size 80 free'd ==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== Block was alloc'd at ==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8251== by 0x41B70E: main (nginx.c:364) ==8251== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8f10 is 32 bytes inside a block of size 96 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8273== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f90d0 is 96 bytes inside a block of size 104 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8273== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f91c0 is 80 bytes inside a block of size 368 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8273== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8273== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f91f0 is 128 bytes inside a block of size 368 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8273== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8ef8 is 8 bytes inside a block of size 96 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8273== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8ef8 is 8 bytes inside a block of size 96 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8273== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d70 is 0 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d80 is 16 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d70 is 0 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d70 is 0 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8da0 is 48 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d88 is 24 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d78 is 8 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8d78 is 8 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 22: spawn and wait uthreads for many times |
==8273== Invalid read of size 8 ==8273== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Address 0x80f8db8 is 72 bytes inside a block of size 80 free'd ==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== Block was alloc'd at ==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8273== by 0x41B70E: main (nginx.c:364) ==8273== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8d30 is 32 bytes inside a block of size 96 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8284== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8ef0 is 96 bytes inside a block of size 104 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8284== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8fe0 is 80 bytes inside a block of size 368 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8284== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8284== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f9010 is 128 bytes inside a block of size 368 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8284== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8d18 is 8 bytes inside a block of size 96 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8284== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8d18 is 8 bytes inside a block of size 96 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8284== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8b90 is 0 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8ba0 is 16 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8b90 is 0 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8b90 is 0 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8bc0 is 48 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8ba8 is 24 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8b98 is 8 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8b98 is 8 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O |
==8284== Invalid read of size 8 ==8284== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Address 0x80f8bd8 is 72 bytes inside a block of size 80 free'd ==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== Block was alloc'd at ==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8284== by 0x41B70E: main (nginx.c:364) ==8284== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8f90 is 32 bytes inside a block of size 96 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8306== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f9150 is 96 bytes inside a block of size 104 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8306== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f9240 is 80 bytes inside a block of size 368 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8306== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8306== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f9270 is 128 bytes inside a block of size 368 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8306== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8f78 is 8 bytes inside a block of size 96 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8306== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8f78 is 8 bytes inside a block of size 96 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8306== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8df0 is 0 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8e00 is 16 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8df0 is 0 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8df0 is 0 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8e20 is 48 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8e08 is 24 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8df8 is 8 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8df8 is 8 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==8306== Invalid read of size 8 ==8306== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Address 0x80f8e38 is 72 bytes inside a block of size 80 free'd ==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== Block was alloc'd at ==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8306== by 0x41B70E: main (nginx.c:364) ==8306== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f9960 is 32 bytes inside a block of size 96 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8328== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f9b20 is 96 bytes inside a block of size 104 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8328== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f9c10 is 80 bytes inside a block of size 368 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8328== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==8328== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f9c40 is 128 bytes inside a block of size 368 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==8328== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8328== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==8328== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f97d0 is 16 bytes inside a block of size 80 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors |
==8328== Invalid read of size 8 ==8328== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd ==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== Block was alloc'd at ==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900) ==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242) ==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==8328== by 0x41B70E: main (nginx.c:364) ==8328== { <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 |